Python is an object-oriented programming language. This means that the program design is based around objects, rather than functions and logic.
Each object is created using a blueprint known as a class . Each class has attributes to contain the data an object needs to work with.
Each class also contains functions, called methods that perform operations on objects.
An object is an instance of a class. So, you could have a class called “car” and use it to define an object called “merc.”
You’ll need ...