Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Jupyter Untitled Last Checkpoint 2 hours ago ( File Edit View Insert Cell Help I

ID: 3873737 • Letter: J

Question

Jupyter Untitled Last Checkpoint 2 hours ago ( File Edit View Insert Cell Help I 'Jordan Speed', Group A', Tourn,2 I 'Jordan Spe I 'Jordan Speed', 'Group A t Jordan Speod', GroupToun3', 'Sat' I'Jordan Speed', 'Group A', 'Tourn 3', 'Sun', 4, 4, 3, 3, 4, 6, 4, 5, 5, 38] ed', 'Group A, 'T 4, 3, 3, 4, 4, 5, 4, 4, 4, 35] 'Fri', 4, 2, 4, 4, 4, 5, 6, 4, 4, 37] ,5, 3, 4, 4. 4, 5, 4, 4, 3, 361 In (2318 gol fer atats - cale group statal (round scores liat, tourna list grps list, golfers list) TypeError Traceback (most recent cal1 last) cipython-input-23-039t5a8eebco> in cmodule> 2 TypeError: calc group atatsl 0 takes 3 posl tional arguments but 4 were given golfer stats cale_group_stata1 (ro ound acores 1ist, tourns list, grpa_list, golfers 11st) In I 1: group totals - get_group_ totalsl (round scores list, In I: grp stats - calc group statal (group_totals In I J: hole par_difts stats-cale hole_par diffal (acores liat) Ln I J: hole rating liat -get hole ratingsl( tourns list, grps_1iat) tourns list, grps 1ist) hole par diffa stat.a) 0

Explanation / Answer

The function you have made named calc_group_stats1 consists of three arguments and you are providing four arguments. The solution to it is that you must define four arguments in the definition and then call it with four arguments.

I gurantee that this is the only error you are getting.Please check it out and improve your code.

I would have helped you more , if you have given me the function that you are getting the error in.I definitely know that this is the only thing that is giving error.

Rate an upvote.....Thankyou

Hope this helps.....