Skip to content

Commit 05a70ae

Browse files
Merge pull request seeditsolution#278 from maahieummah/patch-1
Create pythonevenodd
2 parents 2363d37 + e547bc4 commit 05a70ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pythonevenodd

Lines changed: 5 additions & 0 deletions
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 number".format(num))
4+
else:
5+
print("{0} is Odd number".format(num))

0 commit comments

Comments
 (0)