LLD - Design — Chess Game
Find the bug in this code:
class Piece:
def move(self):
return "Moving"
class Rook(Piece):
def move(self):
print("Rook moves straight")
r = Rook()
result = r.move()
print(result)