The error message says:
File "python", line 15
if days >= 7:
IndentationError: unindent does not match any outer indentation level
I really don't know what's wrong with the code since, it doesn't give clear indication of where I was wrong.
def rental_car_cost(days): cost = days * 40 if days >= 7: cost -= 50 elif days >= 3: cost -= 20 return cost