Auto Indenting Never Works


<Below this line, add a link to the EXACT exercise that you are stuck at.>


<In what way does your code behave incorrectly? Include ALL error messages.>

The system auto indents after if statements or def functions however the console always says expected an indented block. I have to delete all spacing before the indent and manually indent for the system to accept the code. If I insert a line in the middle of the code, all lines after the newly created one must be deleted back to the start and manually indented again.

Is this a browser issue or a problem with the code on the website?

<What do you expect to happen instead?>

The system to accept the auto indented formatting.


Replace this line with your code.

If I copy and past the code into a note pad it clearly shows the indenting is all messed up even though it looks correct in the webpage.

<do not remove the three backticks above>


This was discussed in an earlier topic…


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