Challenge 3: Return Key With Maximum Value
Let's learn to find a key with the maximum value.
We'll cover the following...
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:
Access this course and 1400+ top-rated courses and projects.