Question: (Python coding) Assuming that the table of outcomes for our 4 dice roll has been created and stored as a DataFrame called four_dice_df, with the

(Python coding)

(Python coding) Assuming that the table of outcomes for our 4 dice

Assuming that the table of outcomes for our 4 dice roll has been created and stored as a DataFrame called four_dice_df, with the sum of the 4 dice given in a column called Total. Write a piece of code to simulate rolling the 4 dice 10000 times. Determine the number of times each total occurred and print out the table ordered from lowest possible total (4) to highest possible total (24)

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!