Create a program that identifies if the entered number is am odd number.Use the mod operator
num = int(input('Enter an integer number: ')) if num % 2 == 0: print('The number is even') else: print('The numbe is odd')
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment