In Python please: display a menu to the user offering them a choice of playing your “rock-paper-scissors” game, your Dating Equation game, or displaying one of your pieces of Turtle artwork. Each of these earlier programs you created should now be encapsulated in their own function. Then, based on the user’s choice, the appropriate function should execute. After it executes, ask the user if they would like to view the menu again. Use a loop so that if they say yes, it will display again. Make sure you write a main and call the main the way we went over in class. Basically, I have the three codes the prompt is talking about choosing between. I just need help writing a code, using functions, that lets a user choose between them and do the rest of what the prompt asks, thank you.
In Python please: display a menu to the user offering them a choice of playing your “rock-paper-scissors” game, your Dating Equation game, or displaying one of your pieces of Turtle artwork. Each of these earlier programs you created should now be encapsulated in their own function. Then, based on the user’s choice, the appropriate function should execute. After it executes, ask the user if they would like to view the menu again. Use a loop so that if they say yes, it will display again. Make sure you write a main and call the main the way we went over in class.
Basically, I have the three codes the prompt is talking about choosing between. I just need help writing a code, using functions, that lets a user choose between them and do the rest of what the prompt asks, thank you.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images