I am doing The Boredless Tourist project and my code has been working well until this part
def find_attractions(destination, interests): destination_index = get_destination_index(destination) attractions_in_city =attractions[destination_index] attractions_with_interest =  for attraction in attractions_in_city: possible_attractions = [attraction] attraction_tags = attraction for interest in interests: if interest == attraction_tags: attractions_with_interest.append(possible_attraction) return attractions_with_interest la_arts = find_attractions("Los Angeles,USA", "art") print(la_arts)
it just prints out empty list :
I think the problem is that in guidelines it just says loop through interests but the problem is interests doesn’t exist.
I don’t know if this is my fault or mistake in guidelines.
Link for the project https://www.codecademy.com/paths/computer-science/tracks/cspath-cumulative-tourism/modules/cspath-boredless-tourist/projects/the-boredless-tourist