Printing pretty? I don't understand why it failed


#1


https://www.codecademy.com/courses/python-beginner-en-4XuFm/0/6?curriculum_id=4f89dab3d788890003000096#


Replace this line with your code. Do not remove the backticks that are above or below this line.
board = []
for i in range(5):
    board.append(["O"] *  5)
def print_board(board):
    for row in board:
        print "".join(row)
print_board(board)


#2

It failed because your string is empty, while they want a space in the string--
" "
not
""
See? My code is below. It's the same except that space, so that must be it.
board = []
for os in range(5):
board.append(["O"] * 5)
def print_board(board):
for row in board:
print " ".join(row)
print_board(board)


#3

I don't see anything different between your code and mine. .


#4

@wearyboy,
Try to use

print "-".join(row)

maybe then it is clearer what @puffyfluffs is pointing out to you.....


#5

Ah thank you so much!