Python - Inheritance and Code Reuse
Find the error in this code:
class Animal:
def sound(self):
return "Some sound"
class Dog(Animal):
def sound():
return "Bark"
d = Dog()
print(d.sound())