3/19 Make a list: Results are ok, but code not accepted


I got my code to print 5 rows of Os, but my error code says, "Oops, try again. It looks like you do not have 5 rows in your list."

board = []
for i in range(5):
o = ["O"]*5
print o

Here is a link to the screenshot - http://i.imgur.com/kDdWAFv.png?1

Could someone let me know why my code isn't being accepted?


Hi try to put the board.append(o) before the print o so inside the for loops


Thanks wizmarco. Visually the output looks the same, but this code is accepted. Could you tell me why?