Search⌘ K

Challenge 2: Average of Values of Keys in a Dictionary

Explore how to implement a function that calculates the average age from a dictionary of student ages. Understand dictionary traversal with the items method and practice applying Python dictionary operations in a coding challenge.

Problem Statement

Implement a calculateAvg function that receives the ages dictionary as a ​parameter, and ...