num = int(input("Enter a number:")) if num % 2 == 0: print(num, "is an even number") if num % 2 != 0: print(num, "its an odd number")