Question: We can use np . random.choice to simulate multiple trials. After finishing the Data 8 project, Stephanie decides to spend the rest of her night
We can use nprandom.choice to simulate multiple trials.
After finishing the Data project, Stephanie decides to spend the rest of her night rolling a standard sixsided die. She wants to know what her total score would be if she rolled the die times. Write code that simulates her total score after rolls.
Hint: First decide the possible values you can take in the experiment point values in this case Then use nprandom.choice to simulate Stephanies rolls. Finally, sum up the rolls to get Stephanie's total score.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
