Printing Pretty


;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

for i in range(0,5):

def print_board(board):
    for item in board:
        print " ".join(board)



In line 8 the instructions want you to append a row , not a board.
Also in line 7 the instructions want a row, not an item in the board.

I hope that helps.
Let me know.


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