Area Calculator Project 2

Hi, I am doing this one but can not run, can someone help me ! Thanks

It’s your indentation. Whenever you have an if statement, if you’re going to have an else or an elif it needs to be the next block.

You write

if x:
   #code 1
#code 2
elif y:

but this throws an error because code 2 already signals your if statement is done (because of the indentation).


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.