input a number to print whether it is even or odd using if else statement in Python
Answers
Answered by
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