Classes and objects

A class is a plan for a kind of thing, each object made from it has its own attributes, and a method is a function that works on the object it is called on, whose own name is `self` inside.

From Introduction to Computer Science.