Need Help!


#1

Hello, my code looks like this:

board = []
for i in range(5):
    board.append(["O"]*5)
def my(board):
    for xyz in board:
        print " ".join(xyz)
my(board)

And the response looks like this:

O O O O O
O O O O O
O O O O O
O O O O O
O O O O O
None

However, I cannot pass the exercise due to this error: It looks like you function didn't print out the correct response!
Could you please tell me what I am doing wrong?
Thanks in advance!


#3

looks fine? I would call the function print_board, but it should work. If problems persist try a different browsr


#4

2 posts were split to a new topic: Printing pretty


#5

Thanks, it worked without changing anything...I just tried submitting again and it was fine


#6