Answered You can hire a professional tutor to get the answer.

# Sally averages 5 strokes a hole when she plays golf. One day, she took 40 strokes to complete the first nine holes. Her partner conjecturedthat she would probably regress to the mean and take 50 strok

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.