Q. Which keyword is used to inherit from a class?
β
Correct Answer: (D)
class Child(Parent)
Explanation: In Python, inheritance is done by passing the parent class in parentheses.