Custom Print


board = []
for x in range(0,5):
board.append (["O"] * 5 )

def print_board(board):
for row in board:
print (["0"] * 5)

what is wrong with this???
the error I got was..
It looks like you function didn't print out the correct response!


Not quite....You have already established what to the print in each row. Instead you want to print the row on that line, so the line I pointed out should be this:

 print row


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.