# NEW post update pls help Im 1 code away from having this work :/

NEW post update pls help Im 1 code away from having this work :/
0

#1

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”)

I HAVE SUCCESFFULLY INDENTED EVERYTHING STILL AM ENCOUNTERING THIS ERROR THOUGH
Traceback (most recent call last):
File “python”, line 28
area = (0.5)baseheightC
^
SyntaxError: invalid syntax

#2

#3

I have already answered this question in the other topic you mentioned

You need to remove that dada written in your code and write:
(0.5) * base * height