to cheak wheather the no even or odd in python
Answers
Answered by
1
Answer:
number=int(input("Enter a Number: "))
if number%2 == 0:
print ("Even")
else:
print ("Odd")
Explanation:
This will work in any version of Python
Similar questions
Computer Science,
6 months ago
Geography,
6 months ago
English,
1 year ago
Biology,
1 year ago
Hindi,
1 year ago