Python · Lesson 12.4 · Pro
Inheritance
Build a specialised class on top of an existing one, and reuse its code.
In this lesson
- A class based on another
- super(): extend the parent's setup
- Override a method
- One loop, many kinds
Go Pro to read this lesson
Pro unlocks every lesson and practice problem in SQL, Python, pandas and NumPy, with answers and step-by-step explanations.