Abstraction in Python

Abstraction is the creation of a base or parent class with a set of generic functions that all child classes will need. Our polymorphism lesson actually uses abstraction by defining a method that can print text based on which class is calling it. You will always need to define the method or function in every class … Read more

OOP in Python

What is OOP? OOP is an acronym for object-oriented programming. Object-oriented programming is a method of programming whereby objects are created and assigned specific attributes. You have already created an OOP-focused application in the lesson about Python Classes. Classes and methods are the foundation for OOP in Python. More involved languages, such as C++, have more … Read more