My code doesn't work i get syntax error on line 32.area-calculator syntax error: invalid syntax


File "", line 32
elif option == "T":
SyntaxError: invalid syntax


Hi @yomama1997,

You have this as part of your code ...

    print ("area: %.2f. \n%s" % (area, hint)

elif option == "T":

When a SyntaxError occurs at the beginning of a line, make sure the previous line is complete and correct, including closing of all parentheses, where appropriate.


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