Printing Pretty


Hey guys! So, I think I don't understand what I'm supposed to do.

I typed in the following code:

and got this error: Oops, try again. It looks like you function didn't print out the correct response!

Isn't this what I'm supposed to do? Print out the O's in a table?


so apparently it was the spacing (had one too many spaces between the " "

no wonder I couldn't figure out what it was haha


So this is the proper answer to the question.
Just attaching it for reference
for i in range(0,5):
board.append(["O"] * 5)
def print_board(board):
for i in board:
print " ".join(i)


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