Question: In python, Write a program with an interactive while loop that asks the user to enter a letter, displays the letter, and then prompts the
In python, Write a program with an interactive while loop that asks the user to enter a letter, displays the letter, and then prompts the user if they want to continue. If the user says yes, they are prompted for another letter. Otherwise, the program ends.
Expected Output: Please enter a letter: a
You entered: a
Would you like to enter another letter? y/n:y
Please enter a letter: M
You entered: M
Would you like to enter another letter? y/n:Y
Please enter a letter: S
You entered: S
Would you like to enter another letter? y/n:n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
