B 3.2.1 Worksheet Python Answers
1. Define Inheritance: In your own words, explain what inheritance is in object-oriented programming and why it is useful. Answer: Inheritance is a mechanism in OOP where a new class (child class or subclass) can be based on an existing class (parent class or superclass). The child class automatically gains the attributes (data) and methods (functions) of the parent class. It's useful because it promotes code...