I completed the Boredless Tourist, and it works! However, to get it to print the right attraction in the end, I had to comment out a line of test code (bolded below).
If I leave la_arts alone, allowing it to call find_attractions with the LA arguments, then those LA values will print in the end. Even though the get_attractions_for_travelers function also calls the find_attractions function, and passes different values for the arguments to that function.
I would assume that even if I didn’t comment out the la_arts variable, find_attractions would pass two results–one for la_arts–which I’m not printing, but if I did would show the LA result. And a different result for smills_france, which calls get_attractions_for_travelers, which in turn calls find_attractions–with different argument values.
Why does la-arts supersede smills_france?
def find_attractions(destination, interests): destination_index = get_destination_index(destination) attractions_in_city = attractions[destination_index] for possible_attraction in attractions_in_city: possible_attraction.append(possible_attraction) attraction_tags = possible_attraction #print(possible_attraction) for interest in interests: for attraction in attraction_tags: if interest == attraction: attractions_with_interest.append(possible_attraction) #print(interest) #print(attraction_tags) #print(attractions_with_interest) return attractions_with_interest **la_arts = find_attractions("Los Angeles, USA", ['art'])** #function connecting people with attractions they're interested in def get_attractions_for_traveler(traveler): traveler_destination = traveler traveler_interests = traveler rec =  interests_string = "Hi " + traveler + ", we think you'll like these places around " + traveler_destination+": " **traveler_attractions = find_attractions(traveler_destination, traveler_interests)** for attraction in traveler_attractions: rec.append(attraction) joins = attraction return interests_string + str(joins) smills_france = get_attractions_for_traveler(['Dereck Smill', 'Paris, France', ['monument']]) print(smills_france)