Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Everything is done in python. This is the code I have for C level but it isnt putting it in a table. how do i

Everything is done in python.

image text in transcribed

This is the code I have for C level but it isnt putting it in a table. how do i correct it?

image text in transcribed

For My B level I have this coding:

image text in transcribed

But i need a code that includes the probability and the percentage chance as well.

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2022 Grenoble France September 19 23 2022 Proceedings Part 4 Lnai 13716

Authors: Massih-Reza Amini ,Stephane Canu ,Asja Fischer ,Tias Guns ,Petra Kralj Novak ,Grigorios Tsoumakas

1st Edition

3031264118, 978-3031264115

More Books

Students also viewed these Databases questions

Question

Find the derivative of y= cos cos (x + 2x)

Answered: 1 week ago