Question: Using python PART A Build an application that runs a dice rolling simulation, where each dice has 6 faces. You may roll up to n
PART A Build an application that runs a dice rolling simulation, where each dice has 6 faces. You may roll up to n dice simultaneously, where 1n6. After every simulated roll event, generate and display an ASCII diagram of dice faces and display it on the screen. Prompt the user for the number of dice to roll. PART B Repeatedly rolling a die would result in a uniform distribution of values between 1 and 6 , inclusive. Repeatedly rolling 2 dice would result in a uniform distribution of values between 2 and 12 , inclusive. In this simulation, repeatedly roll 6 dice and count the number of occurrences of each value: i. After 1000 simulations. ii. After 100,000 simulation. Plot the result using Matplotlib
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
