Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced Oracle Solaris 11 System Administration

Authors: Bill Calkins

1st Edition

0133007170, 9780133007176

More Books

Students also viewed these Databases questions

Question

How do they look and behave?

Answered: 1 week ago

Question

How do you feel when they are talking with you?

Answered: 1 week ago

Question

What coaching do you currently provide for your leaders?

Answered: 1 week ago