Plss help syntax erorr im using python 4.8.2 and i dont know what to do>>>>>

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 = input("Enter C for Circle or T for Triangle: ")

option = option.upper()

if option == “C”:
radius = float(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(input(“Enter The Base Of the Triangle”))
height = float(input(“Enter The Heigth Of The Triangle”))
area = (0.5)baseheightC

print (“Uni Bi Tri…”)
print (“Area: %.2f.\n%s” % (area, hint))
sleep(1)
else:
print(“Error! Invalid Shape Selector Specified\n Exiting”)

STIll get this error pls someone help me
Traceback (most recent call last):
File “python”, line 26
elif option == (“T”):
^
SyntaxError: invalid syntax

Please don’t post in multiple threads: FINAL python project HELP!

1 Like

is the indent off on the elif ive tried indenting that already

Duplicate thread, closing.