Question: USING PYTHON PROGRAMMING LANGUAGE Write a program that first asks the user to enter a single line sentence containing all lowercase letters and no punctuation,
USING PYTHON PROGRAMMING LANGUAGE
Write a program that first asks the user to enter a single line sentence containing all lowercase letters and no punctuation, except for a period at the end. The program will then output the number of letters in the sentence, not including spaces or the period.
Example:
Enter a sentence: hey there. Your sentence has 8 letters.
(hey there. is user inputs, the rest is output by the program.) You may assume that all spaces are the space character (as opposed to, e.g., newlines or tabs).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
