CBSE BOARD X, asked by aaaa5568, 11 months ago

input a number to print whether it is even or odd using if else statement in Python​

Answers

Answered by Anonymous
2

Answer:

num = int(input("Enter a number: "))

if num%2==0:

print("Number is even")

else:

print("Number is odd")

#answerwithquality #BAL

Similar questions