Python code help
Sally averages 5 strokes a hole when she plays golf. One day, she took 40 strokes to complete the first nine holes. Her partner conjectured
that she would probably regress to the mean and take 50 strokes to complete the next nine holes. Do you agree with her partner? Needs to be shown in Python code...
1) Make sure to import random and pylab;
(2) Consider defining strokes to return a random choice among the values: 3, 4, 5, 6 and 7;
(3) Consider defining holes (9 of them for this problem);
(4) Consider defining a loop that can loop through a large number of games;
(5) Then plot your strokes.
8 years ago 20
Answer(2)
Purchase the answer to view it
NOT RATED
- home.txt
Purchase the answer to view it
NOT RATED
- pylab_assignment.py
- s1.png
other Questions(10)
- WK3H
- Please assist me with answering the following questions as it relate to Facebook. I've attached a case study for your review. The paper should be 6-8 pages. Please include a half page introduction page. Also, Lessons Learned and a Conclusion should be
- Assignment 2
- DQ - Strategic Planning
- Graduate Level Writing!!! Cyber/Computer Security Only!!!
- Powerpoint
- Phase 4 IP
- Phase 4 DB
- Case Study: Evaluation of National Quality Standards Healthcare
- Mechanical engineering measurments and instrumenations exam help