num = input ( "Enter any number odd or even:" ) if (num % 2) == 0: print ( "The number is even" ) else: print ( "The number is odd" )