Transportation


#1



I've looked at numerous pages on this topic but I can't find my problem??
It shows this error


File "python", line 16
if days >= 7:
^
IndentationError: unindent does not match any outer indentation level


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


#2

this line:

cost  == 40 * day

and the if condition should have the same indent level, they don't


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.