Back to tasks
How many digits?
BeginnerPython for kids 路 Lesson 23: elif - many options
Problem Statement
Read a number n (0..999) and print how many digits it has.
Input Format
One whole number n (0 <= n <= 999).
Output Format
One number - the result.
Examples
Example 1
Input
7
Output
1
Example 2
Input
42
Output
2
Example 3
Input
100
Output
3