Computer Science, asked by kshatrishreyap04, 1 year ago

to cheak wheather the no even or odd in python​

Answers

Answered by adtya882
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