Question: Python. 4. Word count. Write a program that counts the words in a sentence. Call the program wordCount. For example, if the user enters the
4. Word count. Write a program that counts the words in a sentence. Call the program wordCount. For example, if the user enters the sentence "The quick brown fox jumps over the lazy dog". the output should be 9. Allow the user to enter 3 different sentences
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
