Define a function called isSenior that takes a parameter containing an integer value and returns True if the parameter is greater than or equal to 65, and False otherwise.
def isSenior(int):
if int>=65:
return True
else:
return False
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.