def printLegalMoves(self, board):
    for (index, move) in enumerate(board.legal_moves):
        print((str(index) + ': '), end='')
        print(board.san(move))
def printLegalMoves(self, board):
    for (index, move) in enumerate(board.legal_moves):
        print((str(index) + ': '), end=)
        print(board.san(move))