Python - Inheritance and Code Reuse
What will be the output of this code?
class Parent:
def greet(self):
return "Hello from Parent"
class Child(Parent):
def greet(self):
return super().greet() + " and Child"
c = Child()
print(c.greet())