Many languages are known as object-oriented programming (OOP) languages. Python, JavaScript, Java, and C++ are just a couple of names that use OOP. Throughout this week, we’ll begin to understand what OOP is, why it’s so useful, and how to implement it within a program.
In Python (and most languages), we create objects through classes that we build. You can think of a class as a blueprint for how an object is created. Take a first-person shooter video game, for instance. All players, vehicles, and weapons are objects. There could be five people each on two teams, but ...