5/7 help


#1

Any help? I got an error message on 5/7. Here's my code.

def trip_cost(city,days):
    return rental_car_cost(city) + hotel_cost(days) + plane_ride_cost(city)

#2

The rental is based on number of days, not the city.


#3

I'm still getting an error message though...

Code: def trip_cost(city,days):
return rental_car_cost(days) + hotel_cost(nights) + plane_ride_cost(city)


#4

It's okay to name the parameter nights in the hotel_cost function, but we must still pass it the days variable as the argument in the call since that is what is given in this function.