← Back to the lesson: Conditions
Number Check
The exercise
Variable number = 0.
If number > 0, print "Positive".
If number < 0, print "Negative".
If number == 0, print "Zero".
Starter code
number = 0
# Check the number / Проверьте число
Write the code in the browser and run it — no installation needed.