Back to tasks
One digit?
BeginnerPython for kids 路 Lesson 19: Comparisons: greater, less, equal
Problem Statement
Read a number n (0 or more). Print whether it is less than 10 - that is, whether it has just one digit.
Input Format
One whole number n (0 <= n <= 1000).
Output Format
True or False (that's how Python prints it).
Examples
Example 1
Input
7
Output
True
Example 2
Input
10
Output
False