Wednesday, December 30, 2015

#to check odd or even
a=input("enter a number")
b=int(a)
if (b%2==0):
    print("it is even")

else:
    print("it is odd")
 
# Having no programming background it is slow but a great achievement for me, i am slowly learning to code.

No comments:

Post a Comment