<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.>
I am stuck on taking a vacation.
<In what way does your code behave incorrectly? Include ALL error messages.>
It keeps telling me “Oops, try again. An error was raised for rental_car_cost(1): local variable ‘cost’ referenced before assignment.”
<What do you expect to happen instead?>
Everything seems to have correct syntax. What am I missing?
Replace this line with your code.
cost == 40 * days
if days >= 7:
cost -= 50
elif days >= 3:
cost -= 20
<do not remove the three backticks above>