Question: 5) Write a menu-driven python program. There will be 3 different options in menu; 1- Call the guess_number.py module. Your program will generate a random

 5) Write a menu-driven python program. There will be 3 different

5) Write a menu-driven python program. There will be 3 different options in menu; 1- Call the guess_number.py module. Your program will generate a random number between 20- 40 and will give 6 chances to user to guess it. If user guess correct, print screen to Congratulations, else print !!Please Try Again!! and back to menu. 2- Call the dice_rolling.py module. Imagine there are 3 different players. When the program runs, it will ask to user how many times the dice will be thrown? Then, it will randomly generate numbers between 1 and 6 and sum them. Then you will print the score of player one, two and three and print the winner of game. Then back to menu. 3- Exit the program. If user enter an option except these 3 (like 4,5 or -1), you will give a warning and print menu again

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!