Skip to content

2.2 Identifiers

  • A good practice when naming variables is to use all lowercase letters and to place underscores between words.
  • Lowercase and underscore convention for naming variables originates from the Python style guide, PEP 8
    • PEP 8 (PEP is an acronym for Python Enhancement Proposal) is a document that outlines the basics of how to write Python code neatly and consistently

Untitled