# touring def take_tour(route, animals, ui): for animal in route: # accessing the animal by its name and displaying it animals[animal].display(ui)