LearnPy Hub
← Strings problems
Easy

Length Without Spaces

Read a sentence and print how many characters it has, not counting spaces.

Input

One line.

Output

A count.

Sample 1

Input
hello world
Output
10

Sample 2

Input
a b c
Output
3
solution.py
Output appears here
Length Without Spaces · Python practice problem · LearnPy Hub