Question: 5) Write a menu-driven python program. There will be 3 different option 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 option in menu; 1- Call the guess_number.py module. Your program will generate a random number between 1- 10 and will give 3 chance to user to guess it. If user guess correct, print screen to "Congratulations", else print "Sorry" and back to menu. 2- Call the dice_rolling.py module. Imagine there are 2 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 and two 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
Get step-by-step solutions from verified subject matter experts
