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 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
Get step-by-step solutions from verified subject matter experts
