Can you find the syntax error on line 4?


#1

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


#2

Pretty sure that code doesn't trigger the same error.
Post the right code. Make sure it is intact

If you think I'm wrong about this, copy your code and run it. See for yourself.