We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc90a0 commit cfb3706Copy full SHA for cfb3706
positive_negative.py
@@ -0,0 +1,7 @@
1
+n = int(input("Enter the number to check it is positive or negative : "))
2
+if n > 0:
3
+ print("positive")
4
+elif n < 0:
5
+ print("negative")
6
+else:
7
+ print("zero")
0 commit comments