(self)
return resp
[summary]
        Generates a board representation as string.

        Returns:
            [str] -- [board representation]
[summary]
        Generates a board representation as string.
[ summary ] Generates a board representation as string .
def __str__(self):
        """[summary]
        Generates a board representation as string.

        Returns:
            [str] -- [board representation]
        """

        resp = ""
        for i in range(self.row):
            for j in range(self.col):
                resp += " {0} ".format(self.board[i][j])
            resp += "\n"
        return resp
def __str__ ( self ) : resp = "" for i in range ( self . row ) : for j in range ( self . col ) : resp += " {0} " . format ( self . board [ i ] [ j ] ) resp += "\n" return resp