The last hour I’ve been unable to find the mistake the terminal is pointing out, while trying to test out the validity of the first half of the Area Calculator exercise.
I could totally use a second pair of eyes. Please advice accordingly, thanks in advance…
print ‘Calculation in action!’
option = raw_input("Enter C or Circle for Circle or T or Triangle for Triangle: ")
if option == ‘C’ or option == ‘Circle’:
radius = float(raw_input('Enter radius: '))
area = 3.14 * radius ** 2
print ‘Area is %s’ % area