Battleship! Printing Pretty
I am not getting an error message but, the 5x5 matrix of "O" is not displaying.
Replace this line with your code. board= for i in range(0,5): board.append(5*["O"]) def print_board(board): for row in board: print board[row] print " ".join(row) print"---".join(row) return board