Skip to content

Commit 8682a38

Browse files
Merge pull request #1119 from umangsingh9987/patch-2
even.py
2 parents 2c70e23 + 5e38336 commit 8682a38

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

even.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
num = int(input("Enter a number: "))
2+
if (num % 2) == 0:
3+
print("{0} is Even".format(num))
4+
else:
5+
print("{0} is Odd".format(num))

0 commit comments

Comments
 (0)