Computer Science, asked by aryanjain85579, 2 months ago

-
Wap to enter a
no and check whether it is even or odd using function​

Answers

Answered by ayush4112003
1

Answer:

def program():

n=int(input("Write your no."))

if n%2==0:

print("even no.")

else:

print("odd no.)

Similar questions