Skip to content

Indentation

Vinicius Reif Biavatti edited this page Jul 25, 2022 · 1 revision
  • Always use spaces for indentation
  • Always use 4 (four) spaces to indent the code

✅ Do

if True:
    pass  # 4 spaces (right)

❌ Don't

if True:
 pass  # 1 space (wrong)
Clone this wiki locally