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):
pass
c = Child()
print(c.greet())