solutions

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 False.

Examples:

>>> greater_than_20(42)
True
>>> greater_than_20(19)
False

Test Cases

test less than 20 - Run Test

def test_less_than_20():
    assert greater_than_20(19) is False

test greater than 20 - Run Test

def test_greater_than_20():
    assert greater_than_20(42) is True