Question: python program 2. Dice Simulation Write a program (Dice Simulation.py) that simulates rolling a dice with six numbers for 1000 times. The program should count

python programpython program 2. Dice Simulation Write a program (Dice Simulation.py) that simulates

2. Dice Simulation Write a program (Dice Simulation.py) that simulates rolling a dice with six numbers for 1000 times. The program should count how often each number was rolled and calculate the Coquitlam College CSCI 120C-Spring 2021 Rita Ester Lab 6-1 Random and Math Functions 2 corresponding percentage. In your program, you will need one counter variable for each number 1-6, as we do not know how to use a list (array) yet. Here is an example of a possible output of the program: Roll a dice 1000 times 6 rolled 185 times. (18.5%). 5 rolled 168 times. (16.8%). 4 rolled 143 times. (14.299999999999999%). 3 rolled 175 times. (17.5%). 2 rolled 157 times. (15.7%). 1 rolled 172 times. (17.2%)

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!