Loading...
Loading...
Loading...
A bank statement line shows a change in balance. Classify the change.
Given an integer, print Positive if it is above 0, Negative if it is below 0 and Zero if it is 0.
Positive, Negative or Zero.Example 1
Input
-15
Output
Negative
Example 2
Input
8
Output
Positive
Try the problem first. Open one hint at a time.
There are three outcomes, so one if-else is not enough.
Use if, elif and else. Zero is what is left after the two checks.
Write your Python code, run it on the examples and submit it to hidden tests.
Solve in the editor