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 student_scores where keys are student names (strings) and values are their test scores (lists of integers). Here's the data you should use:
student_scores ={
"Alice": [85,90,78],
"Bob": [70,88,92],
"Charlie": [80,85,85],
"David": [95,100,98]
}
2.1 Calculate Averages
Write a function calculate_averages that takes in the student_scores 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 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 Programming Questions!