Good! I'm creating the battleship game and I encountered a problem creating the board.
Code:
board = []
for x in range(15):
board.append(["O"] * 15)
def print_board(board):
for row in board:
print (" ").join(row)
And when I print to the board give me this error:
print (" ").join(row)
AttributeError: 'NoneType' object has no attribute 'join'
And I do not understand what's wrong ... Can anyone help me?