I have no idea what's wrong with datetime string in Line 7. I've rewritten it a bunch of times and looked at other people's projects. To me, they all look the exact same as mine. Anyone have any ideas?
https://gist.github.com/90883a677be1d8f145c66fa98b421a40 #Calculates the area of a given shape from math import pi from time import sleep from datetime import datetime now = datetime.now() print "The calculator is starting up..." print "Current time: %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! \nExiting..." option = raw_input("Enter C for Circle or T for Triangle:") option = option.upper() if option == "C": radius =float(raw_input("Enter the radius:")) area = pi * radius ** 2 print "The pie is baking..." sleep(1) print ("Area: %.2f. \n%s" % (area, hint)) elif option == "T": base = float(raw_input("Enter the base:")) height = float(raw_input("Enter the height:")) area = (0.5) * base * height print "Uni Bi Tri..." sleep(1) print (%.2f. \n%s) % (area, hint) else: print"You entered garbage! Program will now exit. Goodbye"