Inheritance in Python 🪢
check this out --------------------☝️
Let's say we want to create an Electric car & don't want to define all the properties and methods of the basic Car class.
Inheritance helps us to inherit all the properties/methods of parent class & add new ones or override existing.
Post #377
984
