Why does the block on the right says that
" File "python", line 18
elif days>=3 and days<7:
SyntaxError: invalid syntax"


I think this basic formatting outline will help you solve your problem! :smiley:

def rental_car_cost(days):
    blah = blah
    if blah:
        blah = blah
    elif blah:
        blah = blah
    return blah


It stii doesn`t work...


When I said basic outline I meant that you should reformat the answer you had into the same spacing and such as my example not copy my example straight into your lesson! Your other answer was close to the correct answer but your error at first is dealing with your spacing that is wrong. Go back and correct as such! :thumbsup:


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