You are on page 1of 1

num=input("enter a number : ")

if num%2==0:
print "number is even"
else:
print "number is odd"

You might also like