Question
Suppose you roll ten fair 6-sided dice, and you expect that the total = 35, on average. Minimum = 10 and Maximum = 60. I
Suppose you roll ten fair 6-sided dice, and you expect that the total = 35, on average.
Minimum = 10 and Maximum = 60.
I need help and understand how to create python code using numpy to create a array with 50 rows and 10 columns of random dice rolls (random integers between 1 and 6).
Alos by summing rows, I need create an array of numbers between 10 and 60.
What is the average of this array (a number between 10 and 60)?
What is the standard deviation of this array?
By using the np.std function for standard deviation.
I need to use numpy functions throughout this code and not using any loops in this code.
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