Python - Multiple Inheritance and Method Resolution
Find the error in this code snippet:
class A:
def greet(self):
return "Hi from A"
class B:
def greet(self):
return "Hi from B"
class C(A, B):
def greet(self):
return super(B, self).greet()
c = C()
print(c.greet())