Question: 2. Dice Simulation Write a program (DiceSimulation py) that simulates rolling a dice with six numbers for 1000 times: The program should count how often
2. Dice Simulation Write a program (DiceSimulation 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 corresponding percentage. Coquitiom College CSC120 - spring 2023 Lab 08-1 fandom and Moth Functions Rita Ester 2 In your program, you will need one counter variable for each number 1 to 6 , as we do not know how to use a list (array) yet. Here is an example of a possible output of the program: Rol1 a dice 1000 times 6 rolled 185 times, (18.58), 5 rolled 168 times, (16,08), 4 rolled 143 times, (14.299999999999999t). 3 rolled 175 times, (17.5). 2 rolled 157 times, (15.74). 1 rolled 172 times, (17.28). Pseudocode Display the title
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
