8.Taking a Vacation

This is the error: **Oops, try again. trip_cost('Tampa', 5, 0) returned 450 instead of the correct value 1100**

There are also other errors but this is the one that i cant seem to figure out,

I EXPECT IT TO WORK!!!!

```
def hotel_cost(nights):
nights== nights > 0
tom = nights * 140
return tom
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 "Sorry, don't know this one. Did you type one of the cities from the list?"
def rental_car_cost(days):
rent = 40 * days
if days > 6:
rent -= 50
elif 7 > days > 2:
rent -= 20
return rent
def spending_money(days):
days > 0
return 10 * days
def trip_cost(city, days ,nights):
return rental_car_cost(days) + plane_ride_cost(city) + spending_money(days)+ hotel_cost(nights)
```