Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that simulates all possible rolls of four dice and for each simulated roll, finds the sums of pairs of dice. For instance,
Write a program that simulates all possible rolls of four dice and for each simulated
roll, finds the sums of pairs of dice. For instance, if the roll is the sums are
and For each of the possible sums from to find the total number of
simulated rolls in which the sum appears and what percentage of the simulated rolls
had those sums appear. Output the totals and percentages, nicely formatted, with the
percentages formatted to one decimal place. To check your work, you should find that
the sum comes up in rolls, which is of the rolls
please solve using python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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