2 Must-Know OOP Concepts in Python

Inheritance and Polymorphism

Soner Yıldırım
Towards Data Science
4 min readApr 19, 2021

--

Photo by Zdeněk Macháček on Unsplash

Object oriented programming (OOP) paradigm is built around the idea of having objects that belong to a particular type. In a sense, the type is what explains us the object.

Everything in Python is an object and every object has a type. These types are declared and defined using classes. Thus, classes can be considered as the heart…

--

--