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.
2 parents 2363d37 + e547bc4 commit 05a70aeCopy full SHA for 05a70ae
pythonevenodd
@@ -0,0 +1,5 @@
1
+num = int(input("Enter a number: "))
2
+if (num % 2) == 0:
3
+ print("{0} is Even number".format(num))
4
+else:
5
+ print("{0} is Odd number".format(num))
0 commit comments