Computer Science, asked by adrika17pathak, 1 day ago

write a python program to examine a number whether is is odd or even by using if---else statement​

Answers

Answered by arulpragasam199
2

Explanation:

Python Program to Check if a Number is Odd or Even

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

if (num % 2) == 0:

print("{0} is Even number". format(num))

else:

print("{0} is Odd number". format(num))

mark me as brainlist

Similar questions