yeah I'm at a loss for words as to why the error I get happens, the code gives the correct answer.
It doesn't give me a line the error occurred on.
this is the error that I get.
Oops, try again. trip_cost should take exactly three parameters: city, days, and spending_money (in that order).
def hotel_cost(days): return 140*days def plane_ride_cost(city): if city== "Charlotte": return 183 elif city=="Tampa": return 220 elif city== "Pittsburgh": return 222 elif city=="Los Angeles": return 475 def rental_car_cost(days): if days>=7: return (days*40)-50 elif days>=3: return (days*40)-20 elif days>=2: return days*40 def trip_cost(city, days,spending_money): return plane_ride_cost(city)+rental_car_cost(days)+hotel_cost(days)+spending_money print trip_cost("Los Angeles",5,600)