Question: USING PYTHON PROGRAMING LANGUAGE Write a program that first asks the user to enter a special letter. The program should then ask the user to
USING PYTHON PROGRAMING LANGUAGE
Write a program that first asks the user to enter a special letter. The program should then ask 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 times that this letter appears in the sentence.
Example:
Enter a special letter: t Enter a sentence: here is my little sentence. Your letter appears 3 times. (t and here is my little sentence. are user inputs, the rest is output by the program.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
