Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started