Best practice

Beautiful Python Code with PEP 8

Source: How to Write Beautiful Python Code With PEP 8 Naming Conventions “Explicit is better than implicit.” — The Zen of Python ‼️ Note: Never use l (\ell), O (zero), or I (capital i) single letter names as these can be mistaken for 1 and 0, depending on typeface:

Documenting Python Code

Source: Documenting Python Code: A Complete Guide Commenting vs. Documenting Code Description Audience Commenting Purpose and design of code Maintainers and developers Documenting Use and functionality of code Users Commenting Code Comments are created in Python using the pound sign (#) and should be brief statements no longer than a few sentences.