5/7 help


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)


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


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)


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.