LearnPy Hub
← Data Types & Casting problems
Easy

How Many Digits?

Read a non-negative whole number and print how many digits it has. Hint: convert it to a string.

Input

One integer ≥ 0.

Output

The number of digits.

Sample 1

Input
12345
Output
5

Sample 2

Input
0
Output
1
solution.py
Output appears here
How Many Digits? · Python practice problem · LearnPy Hub