Define a function called isEven that takes a parameter containing an integer value and returns True if the parameter is even, and False otherwise.
def isEven(int):
if int%2==0:
return True
else:
return False
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.