Valor de verificación impar o incluso

a = int(input("Enter the number: "))
if (a % 2) == 0:
    print("{0} is even".format(a))
else:
    print(" {0} is odd ".format(a))
Gendzi