Create a program that takes an integer as input. The program should print 'Positive' if the number is greater than 0, 'Negative' if the number is less than 0 and 'Zero' if the number is 0.
If statement
Determining if an integer is positive, negative, or zero
Report a typo
Sample Input 1:
3Sample Output 1:
PositiveSample Input 2:
-1Sample Output 2:
NegativeWrite a program in Python 3
Loading...
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.