Back to tasks
Adult
BeginnerPython for kids 路 Lesson 19: Comparisons: greater, less, equal
Problem Statement
A person is an adult when they are at least 18. Read an age and print whether the person is an adult.
Input Format
One whole number - the age in years (0 <= age <= 120).
Output Format
True or False (that's how Python prints it).
Examples
Example 1
Input
18
Output
True
Example 2
Input
11
Output
False