Write a python program to enter a no and check it is even or odd
Answers
Answered by
3
Answer:
num = int(input("Enter a number: "))
if (num % 2) == 0:
print("{0} is Even number". format(num))
else:
print("{0} is Odd number". format(num))
I hope this answer will help you
Similar questions