IndentationError: unexpected indent


#1

"Set a third variable monty_python equal to python squared."

I can not get out of this lesson, what do I do?

Será que vai agora....

Monty = True
Python = 1.234
Monty_python = python ** 2

what am I doing wrong ?


#2

Your code is right, but I'm assuming (because of your error message) that you have spaces at the beginning of your lines that shouldn't be there.
Also, variables can't start with a capital letter, and even if that could, programming is case sensitive and Python is not the same as python, so you wouldn't be squaring 1.234.
You need to make your variable names lowercase and make sure that there is no indentation like so:

monty = True 
python = 1.234
monty_python = python ** 2

#3

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