Custom Print: Why can't I go to the next exercise?


Oops, try again. Did you remember to define the print_board function?

It's working correctly, but won't let me pass the exercise.

Replace this line with your code. 

board = []
for x in range(0, 5):
    board.append(['O'] * 5)

def print_function(board):
    for row in board:
        print row



Your print_function(board) name should be print_board(board) as the instructions state. Gotta change the def print_function(board) part and the last line.


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