Q. Which Python keyword is used to inherit from a class?
Solution:
In Python, inheritance is achieved by defining a new class with the class keyword and specifying the parent class in parentheses.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.