Counting Words
Created on Dec. 9, 2016 by Julien Palard
Provide a script that prints the number of words in the given paragraph.
I prefilled the answer box with the paragraph, in a variable, but in case you lose it, here it is:
1 |
|
Advice
Take a look at the split
method.
There's no corrections yet, hit the `Submit` button to send your code to the correction bot.
Keyboard shortcuts:
- Ctrl-Enter: Send your code to the correction bot.
- Escape: Get back to the instructions tab.