Computer Science, asked by oindrilla20, 10 months ago

Write a Python program that returns True if the input number is an even number, False otherwise.​

Answers

Answered by DrNykterstein
12

CODE:

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

if number % 2 == 0:

print(True)

else:

print(False)

Answered by prakharagrawal6055
4

Answer:

n=int(input("Enter any number:"))

if n%2==0:

   print("True")

else:

   print("False")

Explanation:

Similar questions