Write a program that takes an integer as input and checks if it is even or odd
a= int(input("type your number:"))
if ((a%2)==0):
print("your number is even:")
else:
print("your number is odd:")
For further actions, you may consider blocking this person and/or reporting abuse
Daniel Paul -
Mukul Aggarwal -
Rishabh Agarwal -
Thomas H. Young -
Top comments (0)