Question: (In python) Your assignment is to write a program that inputs a sentence from the keyboard, word by word, into a list. The program should
(In python) Your assignment is to write a program that inputs a sentence from the keyboard, word by word, into a list. The program should output the following.
1. The complete sentence, with the first word capitalized if it wasnt already, spaces between each word, and a period at the end.
2. The count of the number of words in the sentence.
For instance, if the input is: the
cat
ran
home
quickly
Your program should output:
The cat ran home quickly. There are 5 words in the sentence.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
