here is the answer!
I hope it can help you!
num = int(input("Enter a number: \n")) if num % 2 == 0: print ("Even") else: print ("Odd")