Program to find if the given number is even or odd
===================== EVEN AND ODD =====================
a=input("Enter a number :")
if a%2==0:
print a," is a Even Number"
else:
print a," is a Odd Number"
====================== OUTPUT ======================
Enter a number :28
28 is a Even Number
====================== OUTPUT =======================
Enter a number :49
49 is a Odd Number
======================================================
No comments