my code is perfectly fine. i just DON'T understand why you can use a NEW ARGUMENT for the SAME function?!?!?!?
the original argument for "hotel_cost" is "(nights)" but the program says it's otay to use the argument "(days)" instead.... but WHY?!?!?!
def hotel_cost(nights): return 140.0*nights def plane_ride_cost(city): if city == "Charlotte": return 183 elif city =='Tampa': return 220 elif city =='Pittsburgh': return 222.0 elif city =='Los Angeles': return 475 def rental_car_cost(days): cost = 40*days if days>=7: cost -=50 elif days>=3: cost-=20 return cost def trip_cost(city, days): return rental_car_cost(days)+hotel_cost(days)+plane_ride_cost(city)