Challenge 6: Average Values Within Multiple Dictionaries

In this challenge, you are required to average values of a single key within multiple dictionaries.

Problem Statement

Implement a calculateAverageAge function that receives the students dictionary and returns the average age.

Input

A nested dictionary

Output

The average age of students

Get hands-on with 1000+ tech skills courses.