Classes

Classes aggregate code together into a functional body. Classes all generally have (at the minimum) a constructor (__init__) function and other object related methods that are used.

Constructors

  • denoted by __init__
  • should ingest self as the first parameter
  • populates instance with attributes