Getting error after error on the end of Exercise 2.4 "Pull It Together"
After chatting with a Pro user, I learned that you must call variables in the order in which they are introduced in the code.
So, in the vacation calculator
def trip_cost(days, city):
Will give you an error. While:
def trip_cost(city, days):
Will work just fine.
Since the exercise asked you to use "days" instead of the variable "nights" originally used to calculate hotel cost, I had switched the order. Spent a solid hour trying to figure out what I'd done wrong.