Question: Complete the function according to its docstring. PYTHON3.6 1 def roll_the_dice(n_simulations 1000): 2 'Two unbiased, six sided, dice are thrown one time and the sum

 Complete the function according to its docstring. PYTHON3.6 1 def roll_the_dice(n_simulations

Complete the function according to its docstring. PYTHON3.6 1 def roll_the_dice(n_simulations 1000): 2 'Two unbiased, six sided, dice are thrown one time and the sum of the 3 faces is observed (so if you rolled a 3 and a 1, the sum is 4). A 4 simulation estimates probability that the total score is an even number 5 or a number greater than 7. This is an estimated probability, based on 6 rolling the two dice n simulations times. 7 8 FOR FULL POINTS, THE FUNCTION MUST PERFORM A SIMULATION. Parameters n_simulations: float Number of rolls of the dice 10 11 12 13 14 15 16 17 18 19 Returns float pass

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!