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


#1


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

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

print_function(board)


#2

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.


#3

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