✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Why does the following program result in an error?
def check_age(age):
"""A docstring that gives nothing away"""
if age < 18:
underage = True
elif age > 18:
underage = False
return underage
print(check_age(18))