What happens if I don't indent my Python code?

By admin , 6 January, 2022

The interpreter will throw an indentation error.

IndentationError: expected an indented block

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.