It gives me this error : "SyntaxError : invalid syntax" at line 19
I expect elif to run.
"""This program is a calculator that will compute the area of a given shape, as selected by the user. The calculator can determine that area of circles and triangles.""" from math import pi from time import sleep from datetime import datetime now = datetime.now() print "The calculator is starting up." print '%s/%s/%s %s:%s' % (now.month, now.day, now.year, now.hour, now.minute) sleep(1) hint = "Don't forget to include the correct units!" print "Enter C for Circle or T for Triangle: " option = raw_input("Enter C for Circle or T for Triangle: ") option = option.upper() if option == 'C': radius = float(raw_input("Input a radius: ")) area = (radius ** 2) * pi print "The pie is baking. . . " sleep (1) print ("Area: %.2f. \n%s" % (area, hint)) elif option == 'T': base = float(raw_input("Input a base: ")) height = float(raw_input("Input a height: ")) area = base * height print "Uni Bi Tri. . . " sleep (1) print ("Area: %.2f. \n%s" % (area, hint)) else: print "Invalid input. Terminating program. . . " sleep(2) quit()