Explain Inheritance in Python with an example?
As Python follows an object-oriented programming paradigm, classes in Python have the ability to inherit the properties of another class. This process is known as inheritance. Inheritance provides the code reusability feature . The class that is being inherited is called a superclass or the parent class, and the class that inherits the superclass is called a derived or child class.