mirror of
https://github.com/RustyRaptor/isOddOrEven-collection.git
synced 2026-12-03 18:55:15 -07:00
5 lines
144 B
Python
5 lines
144 B
Python
def oddornot(num):
|
|
if (num % 2) == 0:
|
|
print("{0} is Even number".format(num))
|
|
else:
|
|
print("{0} is Odd number".format(num)) |