Home / Questions / What is inheritance in Python?
Explanatory Question

What is inheritance in Python?

👁 221 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Answer: Inheritance is a mechanism in Python that allows a new class to be based on an existing class, inheriting all its attributes and methods.