New topic

struggling with this code right now its probably something simple that im not seeing or understanding.

print("First, we will stop in" + first_destination+",then" + second_destination +", and lastly" + final_destination)
 trip_planner("France","Germany","Denmark")

I assume trip_planner is a function with parameters first_destination, second_destination, final_destination

def trip_planner(first_destination, second_destination, final_destination):
  print("First, we will stop in" + first_destination+",then" + second_destination +", and lastly" + final_destination)
# end of trip_planner function

trip_planner("France","Germany","Denmark")

You may want to include more spaces in there.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.