Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The question is to run a python program that stimulates the rolling of two 6-sided dies 1000 times. Stores the sum of the values obtained
The question is to run a python program that stimulates the rolling of two 6-sided dies 1000 times. Stores the sum of the values obtained for the two dice in a file. Creates a frequency table for the sum and stores it in a file. Calculates the median mode and mean for the sum and displays it to the screen
A. Write a Python program that does the following a. Simulates the rolling of two six-sided dice for 1000 times. (4mark b. Stores the sum of the values obtained for the two dice in a file. (4 mark c. Creates a frequency table for the sum and stores it in a file. (4 mark d. Calculates the median mode and mean for the sum and displays it to the screen (6 mark For full credit you should use functions whenever possible, All output to the file or screen should be well formatted and accompanied by indicative text, your program code should be well documented.
Step by Step Solution
★★★★★
3.39 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
Question Run a python program that stimulates the rolling of two 6sided dies 1000 times Stores the sum of the values obtained for the two dice in a fi...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started