if days >= 7:
return (days * 40) - 50
elif days >= 3:
return (days * 40) - 20
An error message occurs:
Oops, try again. It looks like rental_car_cost returns 120 instead of the correct amount (100) for 3 days.
I can't understand where I've gone wrong! I've put "-20" afterwards but it doesn't seem to work?
Replace this line with your code.