Python - Multiple Inheritance and Method Resolution
Find the error in this code:
class A:
def speak(self):
return 'A speaks'
class B:
def speak(self):
return 'B speaks'
class C(A, B):
def speak(self):
return super(B, self).speak()
obj = C()
print(obj.speak())