Python - Multiple Inheritance and Method Resolution
Given this class structure, what will be the output of D().greet()?
class A:
def greet(self):
print('Hello from A')
class B(A):
def greet(self):
print('Hello from B')
super().greet()
class C(A):
def greet(self):
print('Hello from C')
super().greet()
class D(B, C):
def greet(self):
print('Hello from D')
super().greet()
D().greet()