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)

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
Get step-by-step solutions from verified subject matter experts
