# Choose any value and find whether the number is even or odd.
n = int (input ("Enter any value to check number is even or odd : "))
if (n % 2) == 0 :
print "Given Number :",n," is even number"
else:
print "Given Number :",n," is odd number"
Output :
Enter any value to check number is even or odd : 34
Given Number : 34 is even number
n = int (input ("Enter any value to check number is even or odd : "))
if (n % 2) == 0 :
print "Given Number :",n," is even number"
else:
print "Given Number :",n," is odd number"
Output :
Enter any value to check number is even or odd : 34
Given Number : 34 is even number