Pull it Together

Oops, try again. trip_cost('Charlotte', 1) returned 180 instead of the correct value 363

```
Replace this line with your code.
def hotel_cost(nights):
nights *= 140
return nights
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
else:
return 0
def rental_car_cost(days):
rent = days * 40
if days >= 7:
rent -= 50
elif days >= 3 and days <=6 :
rent -= 20
return rent
def trip_cost(city, days):
return rental_car_cost(days) + hotel_cost(days)
+ plane_ride_cost(city)
```