Challenge 3: Return Key With Maximum Value

Let's learn to find a key with the maximum value.

Problem Statement

Implement an oldestStudent function that receives the ages dictionary as a parameter, and returns the name of the oldest student.

Input

A dictionary

Output

The key associated with highest age, i.e., the name of the oldest student

Use Python documentation on dictionary to solve the exercise.

Take the following Python dictionary:

Get hands-on with 1000+ tech skills courses.