Python - Inheritance and Code Reuse
Given these classes, what will
print(c.describe()) output?class Parent:
def describe(self):
return "I am a parent"
class Child(Parent):
def describe(self):
parent_desc = super().describe()
return parent_desc + " and I am a child"
c = Child()