-
Notifications
You must be signed in to change notification settings - Fork 0
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)
- Home
- Structural Naming Conventions
- Format Conventions
- Code Naming Conventions
- Inheritance
- Access Modifiers
- Importation
- Functions and Methods
- Documentation
- Resources