from math import pi #This is To import the pi function
from time import sleep #This will give some time to the code to load
from datetime import datetime #This will Import the date and the time
now = datetime.now()
print ("Area Calculater is Staring up")
print ("Current time is: %s/%s/%s %s:%s" % (now.month, now.day, now.year, now.hour, now.month)
(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 Of the Triangle"))
height = float(raw_input("Enter The Heigth Of The Triangle"))
area = (0.5)*base*height
print "Uni Bi Tri...."
print ("Area: %.2f.\n%s" % (area, hint))
sleep(1)
else:
print"Error! Invalid Shape Selector Specified\n Exiting"
I get this error:
Traceback (most recent call last):
File "python", line 25
elif (option == ("T")):
^
SyntaxError: invalid syntax
IM running python version 3.6.1 idk why but for some reason my code looks off and it wont read my code can someone help me fix the errors im making this is my exact code above but its not reading it in python 3.6.1