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