In Python, an object is a container that holds pieces of data called "attributes". Each attribute has a name.
For example, if you have an object saved in the
person variable, writing
person.name retrieves the value held in the
A class is the "type" of a particular object. An object is an "instance" of a class.
# Create the simplest possible class class Person: pass