Challenge 4: Increment Dictionary Values

In this challenge, you are required to increment values in a dictionary.

Problem Statement

Implement an updateAges function that receives ages dictionary and a number n and returns a new dictionary where each student is (n) years older.


A dictionary


Returns a copy of sorted ages where each student is n years older.

Get hands-on with 1000+ tech skills courses.