Question: Python Question Question 1. Clay is playing darts. His dartboard contains ten equal-sized zones with point values from 1 to 10. Write code that simulates
Python Question
Question 1. Clay is playing darts. His dartboard contains ten equal-sized zones with point values from 1 to 10. Write code that simulates his total score after 1000 dart tosses. Make sure to use a for loop.
Hint: There are a few steps to this problem (and most simulations):
- Figuring out the big picture of what we want to simulate (the total score after 1000 dart tosses)
- Deciding the possible values you can take in the experiment (point values in this case) and simulating one example (throwing one dart)
- Deciding how many times to run through the experiment (1000 tosses in our case) and keeping track of the total information of each time you ran through the experiment (the total score in this case)
- Coding up the whole simulation!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
