What i am doing wrong ? 13/5 Custom print


#1

I did everything according to the instructions but my code is not accepted as a faithful

board = []

for i in range(5):
    board.append(["O"]*5)

def print_board(board):
    for row in board:
        print ' '.join(row)

print_board(board)

Oops, try again. It looks like you function didn't print out the correct response!

upd
solved the problem ..... remove the post.


#2

What is your solution? Stuck in the same exercise. Not getting an error (passing the lesson) but my output looks the same as the lesson before. I'm not seeing the rows stacked on the print window.


#3

My last print statement was wrong.
Here is the solution for those lost as well:

board=[]
for i in range(5):
----board.append(["O"]*5)
def print_board(board):
----for row in board
--------print row
print print_board(board)


#4

I do the same. As you can see I have the wrong data is displayed.Total changed one line.
board = []
for i in range(5):
board.append(["O"]*5)

def print_board(board):
    for row in board:
        print row
print_board(board)