Question: Your task is to use a Python dictionary to provide information about the points scored by a basketball team in one game. Write a program

Your task is to use a Python dictionary to provide information about the points scored by a basketball team in one game.

Write a program that does the following:

  1. Using the assignment statement below, create a dictionary with points scored by each of the Philadelphia 76ers against the Brooklyn Nets on April 20, 2019.

points = dict(Harris=24, Butler=11, Embiid=31, Simmons=15, Reddick =9, Scott=8, Ennis=7, Marjanovic=4, Bolden=1, McConnell=2)

  1. Iterate the dictionary once, resulting in a printout that shows us:
    1. a list of the players and the points they each scored, with one player on each line.
    2. the total number of points they scored.
    3. the name of the highest scorer on the team.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!