Question: Complete the following program using functions from the tableabove to find some statistics about basketball player Lebron James.The code below provides lists of various statistical
- Complete the following program using functions from the tableabove to find some statistics about basketball player Lebron James.The code below provides lists of various statistical categories forthe years 2003-2013. Compute and print the followingstatistics:
- Total career points
- Average points per game
- Years of the highest and lowest scoring season
Use loops where appropriate.
#Lebron James: Statistics for2003/2004 - 2012/2013
games_played = [79, 80, 79, 78, 75,81, 76, 79, 62, 76]
points = [1654, 2175, 2478, 2132,2250, 2304, 2258, 2111, 1683, 2036]
assists = [460, 636, 814, 701, 771,762, 773, 663, 502, 535]
rebounds = [432, 588, 556, 526, 592,613, 554, 590, 492, 610]
# Print total points
# Print Average PPG
# Print best scoring years (Ex:2004/2005)
# Print worst scoring years (Ex:2004/2005)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
