Question: Write a program that displays the following menu: Guess the number Guess the letter Quit Enter your choice ( 1 - 3 ) If the
Write a program that displays the following menu:
Guess the number
Guess the letter
Quit
Enter your choice
If the user enters the program should generate a random number NOT DISPLAYED TO USER and ask the user to guess the number. Each time the user enters their guess, the program should indicate whether it was too high or too low. The game should display the number and return to the main menu when the user correctly guesses the number.
If the user enters the program should generate a random letter NOT DISPLAYED TO USER and ask the user to guess the letter. Each time the user enters their guess, the program should indicate whether it was before or after. The game should display the letter and return to the main menu when the user correctly guesses the letter. Think about the upper case and lower case
If the user enters the program should end.
Please submit py file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
