Python - Multiple Inheritance and Method Resolution
What will be the output of this code?
class A:
def who(self):
return 'A'
class B(A):
def who(self):
return 'B'
class C(A):
def who(self):
return 'C'
class D(B, C):
pass
print(D().who())