def greater_than_20(number): if number > 20: return True return False
Time is over! You can keep submitting you assignments, but they won't compute for the score of this quiz.
Greater than 20
Define a function
greater_than_20 that receives a number and if it is greater
than 20 returns
True and if not returns
>>> greater_than_20(42) True >>> greater_than_20(19) False