Length of Text
Completed
Read a line and print how many characters it has (spaces count).
Input
One line of text.
Output
Its length.
Example
Input
hello world
Output
11
Editor
Python
Hints
len() returns the number of items in a sequence.
Solution explanation
len() works on strings, lists, tuples, dicts and more.
Show solution
print(len(input()))