Question: In this exercise, you will make the following modifications to the dice game from exercise 2: Prompt the user for the number of rounds

In this exercise, you will make the following modifications to the dice game from exercise 2:  Prompt the 

In this exercise, you will make the following modifications to the dice game from exercise 2: Prompt the user for the number of rounds they want to play. Code a loop to play the user entered number of rounds. Keep score for the player and computer. At the end, display who won the game after all rounds have been played (player, computer or tie). You must complete exercise 2 before starting this. Save a copy of the DiceGameExercise2.py as DiceGameExercise4.py. You may copy the pseudocode or flowchart you did in exercise 2 and add/modify things as needed.

Step by Step Solution

3.34 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

CODE importrandom variablesandconstants MAXROLLS5 MAXDICEVAL6 ... View full answer

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 Programming Questions!