I am stuck, what do i do?

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

I am stuck, what do i do?

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

Hi @thyler

You should probably place this under the python area of the discussion forums. In addition, a link to the lesson in question would be nice as well. However, what's your error?

"""You can create a variable discount like this..."""

def rental_car_cost(days):

```
cost_per_day = 40
total_cost = cost_per_day * days
discount = False
if days >= 7:
total_cost = total_cost - 50
discount = True
elif days >= 3 and discount != True:
total_cost = total_cost - 20
return total_cost
```