Role of Underscores(_) in Python

See Datacamp article.

Six different uses of underscore(_)

  1. Use in interpreter
  2. Ignoring values
  3. use in looping
  4. Separating digits of numbers
  5. Naming
    1. Single pre-underscore
    2. Single post-underscore
    3. Double pre-underscore
    4. Double post-underscore