Indentation is very important in Python and PEP 8 lays out a couple of rules for it:
- Use four consecutive spaces to indicate indentation
- Prefer spaces over tabs.
This lesson will show you how to apply these two rules and the different ways you can use indentation to improve readability.
W Patrick Jones on April 22, 2019
Nothing on multi-line string assignements? That and really long SQL statements are the ones that always confuse me on where to indent.