Hi all!

I stuck in Area Calculator section (https://www.codecademy.com/courses/learn-python/projects/area-calculator) for more than 2 hours. The input always shows “Enter Radius” even I put ‘T’ or ‘Triangle’. I have no idea where I did the code wrong. Please help me. T^T

Following is my code:

“”"

Hi

Love to meet you

“”"

print “Starting the calculator…”

option = raw_input("Enter C for Circle or T for Triangle: ")

if option == “C” or “Circle”:

radius = float(raw_input("Enter radius: "))

area = 3.14159 * radius**2

print “Area: %s and Radius: %s” % (area,radius)

elif option == “T” or “Triangle”:

base = float(raw_input("Enter base: "))

height = float(raw_input("Enter height: "))

area = 0.5 * base * height

print “Base:%s, Height:%s, and Area:%s” % (base,height,area)

else:

“Error”

Best,

Nan