1num = int(input("Enter a Number:"))
2if num % 2 == 0:
3 print(num , "is even")
4else:
5 print(num , "is odd")
1num = int(input("Enter a number: "))
2if (num % 2) == 0:
3 print("{0} is Even number".format(num))
4else:
5 print("{0} is Odd number".format(num))
1n = int(input("Enter a number: "))
2print(n,"is Even.") if (n % 2) == 0 else print(n,"is Odd.")
1num = int(input("Enter a number: "))
2if (num % 2) == 0:
3 print("{0} is Even".format(num))
4else:
5 print("{0} is Odd".format(num))
6