Challenge 7: Keys Matching in Multiple Dictionaries

In this challenge, you are required to find keys matching a given value from multiple dictionaries.

Problem Statement

Implement a find_students function that receives the students dictionary and an address, and returns a list with names of all students whose address matches the address in the argument. For instance, invoking find_students('Lisbon') should return Anna and Peter. Also, note that the names should be printed in alphabetical order.


A nested dictionary students and address


The keys matching the address in the sorted order, i.e., the name of the students living in a particular area

Get hands-on with 1000+ tech skills courses.