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
obj = Child()
print(obj.greet())