;Can anyone help me? I can't figure out what's wrong with my code.
This was the error message:
Traceback (most recent call last):
File "python", line 8, in
File "python", line 7, in print_board
TypeError: sequence item 0: expected string, list found
board= for i in range(0,5): board.append(["O"]*5) def print_board(board): for item in board: print " ".join(board) print_board(board)