Skip to content

Commit

Permalink
Merge pull request #1119 from umangsingh9987/patch-2
Browse files Browse the repository at this point in the history
even.py
  • Loading branch information
geekcomputers authored Oct 11, 2020
2 parents 2c70e23 + 5e38336 commit 8682a38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions even.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
num = int(input("Enter a number: "))
if (num % 2) == 0:
print("{0} is Even".format(num))
else:
print("{0} is Odd".format(num))

0 comments on commit 8682a38

Please sign in to comment.