Solve problem "The number of words" online - Learn Python 3 - Snakify

The number of words


Given a string consisting of words separated by spaces. Determine how many words it has. To solve the problem, use the method count.
Advertising by Google, may be based on your interests

In all the problems input the data using input() and print the result using print().