I dont understand with this part


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

def hotel_cost(nights):
return nights*140
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

def rental_car_cost(days):
rentCost=days*40
if days>=7:
rentCost+=50
elif days>=3:
rentCost+=20
return rentCost

ERROR MESSAGE: Oops, try again. It looks like rental_car_cost returns 140 instead of the correct amount (100) for 3 days.
<do not remove the three backticks above>

#2

@purnamafadri,
If you rent a car for more then 2 days
you get a =reduction= on the =rentCost=
instead of your =increase=…

Try using

def rental_car_cost(days):
    rentCost=days*40
    if days>=7:
        rentCost-=50
    elif days>=3:
        rentCost-=20
    return rentCost