Question: Part I: Data Structures and Aggregation Data Preparation: Create a dictionary student _ scores where keys are student names ( strings ) and values are
Part I: Data Structures and Aggregation
Data Preparation:
Create a dictionary studentscores where keys are student names strings and values are their test scores lists of integers Here's the data you should use:
studentscores
"Alice":
"Bob":
"Charlie":
"David":
Calculate Averages
Write a function calculateaverages that takes in the studentscores dictionary and returns a new dictionary where each students name is mapped to their average score.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
