Write a Program to check number is even or Odd in Python




a=int(input("enter the number"))
if a%2==0:
    print(a,"Even no")
else:
    print(a,"odd num")
       
Output:

Comments