Back to tasks
Is it dark yet?
BeginnerPython for kids 路 Lesson 20: True and False
Problem Statement
Read an hour (0..23). Store in dark whether it is 20 or later, and print that variable.
Input Format
One whole number - the hour (0 <= hour <= 23).
Output Format
True or False (that's how Python prints it).
Examples
Example 1
Input
21
Output
True
Example 2
Input
20
Output
True
Example 3
Input
8
Output
False