Check it twice


This is really annoying me :rage::rage:

board = []

for i in range(0,5):
board.append(["O"] *5)

def print_board(board):
for i in board:
print i


the error message comes up with:Oops, try again. Did you remember to print your board? even though the board is printed out how it should be and I've looked on YouTube and my code is the same as theirs yet it passes them

could someone please help me with this ASAP

Replace this line with your code.


If you are in the Check It Twice section, the instructions asks you to print the board, not a custom board, which is what you have define.
Instructions from section:
Use the print command to display the contents of the board list.


board = []
for os in range(5):
board.append(["O"] * 5)

def print_board(board):
for x in board:
print x

print print_board(board)

You aren't printing your print_board, you are just calling the function.