5/7 what am i doing wrong


#1

def hotel_cost(days):
return 140 * days
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
return plane_ride_cost()
def rental_car_cost(days):
cost = 40 * days
if days >= 7:
return cost - 50
elif days >= 3:
return cost - 20
else:
return cost
def trip_cost(city,days):
return hotel_cost(days) + rental_car_cost(days) + plane_ride_cost(city)


#2

@designninja16000

Formatting, most definitely!

```python
# Code Goes here
```

Those little marks are back-ticks or the top-leftmost key under the function keys on an English Keyboard.

Once it's formatted correctly I might be able to help you.


#3

What is return plane_ride_cost()? The return plane_ride_cost() function requires a parameter, but you haven't given one. And you're also trying to return a function call from within that same function. You should reconsider what's happening at this point.