What does this mean? This is for the bordeless tourist project: [...]

https://www.codecademy.com/paths/computer-science/tracks/cspath-cumulative-tourism/modules/cspath-boredless-tourist/projects/the-boredless-tourist : Link to bored less tourist project.

When using the function def add_attraction, the output is the arrays printed and where the attractions are supposed to be […] is printed. I just want to make sure this is either an abbreviation or an error. Please let me know! Thank you!

@array0228916076, welcome to the community!

You gave us a link to the exercise, but we can’t see your code.

There are two ways to fix this:

  1. Use the </> button to paste your code formatted into the forums.

  2. Take a screenshot of your code and upload it to the forums.

The first method is preferred, although screenshotting works as well.

destinations = ["Paris, France","Shanghai, China","Los Angeles, USA","São Paulo, Brazil","Cairo, Egypt"]

test_traveler = ['Erin Wilkes', 'Shanghai, China', ['historical site', 'art']]

attractions = [[] for destination in destinations]

def get_destination_index(destination):
  destination_index = destinations.index(destination)
  return destination_index

LA_index = get_destination_index("Los Angeles, USA")

Paris_index = get_destination_index("Paris, France")

def get_traveler_location(traveler):
  traveler_destination = traveler[1]
  traveler_destination_index = get_destination_index(traveler_destination)
  return traveler_destination_index

test_destination_index = get_traveler_location(test_traveler)



def add_attraction(destination,attraction):
    destination_index = get_destination_index(destination)
    attractions_for_destination = attractions[destination_index].append(attractions)
  except SyntaxError:

add_attraction("Los Angeles, USA",['Venice Beach', ['beach']])
add_attraction("Paris, France", ["the Louvre", ["art", "museum"]])
add_attraction("Paris, France", ["Arc de Triomphe", ["historical site", "monument"]])
add_attraction("Shanghai, China", ["Yu Garden", ["garden", "historcical site"]])
add_attraction("Shanghai, China", ["Yuz Museum", ["art", "museum"]])
add_attraction("Shanghai, China", ["Oriental Pearl Tower", ["skyscraper", "viewing deck"]])
add_attraction("Los Angeles, USA", ["LACMA", ["art", "museum"]])
add_attraction("São Paulo, Brazil", ["São Paulo Zoo", ["zoo"]])
add_attraction("São Paulo, Brazil", ["Pátio do Colégio", ["historical site"]])
add_attraction("Cairo, Egypt", ["Pyramids of Giza", ["monument", "historical site"]])
add_attraction("Cairo, Egypt", ["Egyptian Museum", ["museum"]])


def find_attractions(destination, interests):
  destination_index = get_destination_index(destination)
  attractions_in_city = attractions.index(destination_index)
  attractions_with_interest = []
  for possible_attraction in attractions_in_city:
    possible_attraction = attraction[1]