LearnPy Hub
← Lists problems
Easy

How Many Items?

Read a list of words on one line and print how many words there are with len().

Input

Words separated by spaces.

Output

One integer.

Sample 1

Input
apple banana cherry
Output
3

Sample 2

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