Custom Print - code correct but output wrong


#1



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

I don't understand what is going on. This code returns the result "Way to go! Start Next Lesson." but this is what I see in the interpreter box:

<function print board at 0x7f3c6ca5c398>
None

I expected to see 5 lines of "O"s printed in a 5 x 5 grid.

I don't want to move on until I see the right result.


board = []

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

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


#2

you call print board here:

print print_board

but calling a function requires parentheses, between the parentheses supply the argument needed to satisfy the function parameter


#3

Thank you - that was it!


#4