Computer Science, asked by jaiswaljayshree1, 23 hours ago

write a program enter no check the no even is right or not ?​

Answers

Answered by cheemtu
0

Here's the python program ↓↓

def checkeven():

   num = int(input("Enter a number: "))

   if (num % 2) == 0:

       print("{0} is Even number". format(num))

   else:

       print("{0} is Odd number". format(num))

       

checkeven()

pls mark brainliest

Similar questions