[Solved] Vacation price program Python [closed]


Your trip_cost is messed up. It never calculates total_cost, and tries to call a nonexistent function. Here’s my guess on what you meant:

def trip_cost(city, days):
    nights = days - 1
    total_cost = plane_ride_cost(city) + rental_car_cost(days) + hotel_cost(nights)
    return total_cost

3

solved Vacation price program Python [closed]