Question: Problem # 3 - Requirements: Simulate rolling a 6 - sided die. This time do not ask the user if they want to roll again.

Problem #3-Requirements:
Simulate rolling a 6-sided die. This time do not ask the user if they want to roll
again. Instead, simply roll the die 600 times. This is best done by using a for
loop with the range function to loop 600 times. Do not print the result of each
roll. Instead, keep a count of how many times each side was rolled.
After looping 600 times, print how many times each side was rolled, along with
a percentage. See sample output below.
(Rolling 600 is a good number because we can expect each side to be rolled
somewhere close to 100 times)
Print "Goodbye" at end of program.
See sample output below.
Problem # 3 - Requirements: Simulate rolling a 6

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