Printing pretty


#1



I have no idea what I'm doing wrong. Please help!


Oops, try again. It looks like you function didn't print out the correct response!
This is my output:
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


board = []
for i in range(0, 5):
    a = ["O", "O", "O", "O", "O"]
    board.append(a)
def print_board(board):
    for row in board:
       print "   ".join(row)
print_board(board)


#2

Hi between your "O" You should have one space but here

print "   ".join(row)

Between The " " You have more than one space


#3

Thank you so much! :slight_smile: