Question: in python Given a dictionary named grades, built with key:value pairs of student:score, calculate averageScore, the average of all scores. For example: if grades referred

in python Given a dictionary named grades, built with key:value pairs ofin python

Given a dictionary named grades, built with key:value pairs of student:score, calculate averageScore, the average of all scores. For example: if grades referred to \{"David":50, "Justin":90, "Samuel": 91\}, then averageScore would refer to 77.0. In case grades happens to be empty, averageScore should ha ve a value of None. Additional Notes: grades should not be modified

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!