write a program that reads a number through the keyboard and determines if it is an odd or even number and prints either of the following messages either odd or even
Answers
Answered by
0
ans:
num = int (input (“Enter any number to test whether it is odd or even: “) if (num % 2) == 0: print (“The number is even”) else: print (“The provided number is odd”) Output: Enter any number to test whether it is odd or even: 887 887 is odd.
hope it's helpful
pls mark me as Brainlist
Answered by
0
Answer:
num=int(input("enter any no to test whether it is odd or even ") if (no%2)=0: enter any no to test it is odd or even 887 is odd
plz mark me as a brainlist
Similar questions