Question: I need a code for python to get this output. Loops Second iry Level C: Using nested loops, write a program that creates a table
I need a code for python to get this output.
Loops Second iry Level C: Using nested loops, write a program that creates a table which gives the results of two dice. Dice A 2 3 4 5 6 7 2 3 4 5 67 8 3 45 6 78 9 4 5 678 9 10 56 7 8 9 i0 Level B: Create another table that generates the probability of getting a specific sum when two dice are rolled. Total on dice 1+1 1+2,2+1 1+3, 2+2, 3+1 1+4, 2+3, 3+2, 4+1 1+5, 2+4, 3+3, 4+2,5+ 1+6, 2+5, 3+4, 4+3, 5+2, 6+1 2+6, 3+5, 4+4, 5+3, 6+2 3+6,4+5, 5+4, 6+3 4+6, 5+5, 6+4 5+6, 6+5 6+6 10 12 Level A: Create a table that rolls the dice 100 times and compare the results obtained to the predicted results for Level B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
