Nothing shown in the interpreter


#1



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


Using the below code in the last exercise (6. Printing Pretty) I am getting ahead successfully. However, nothing is showing up in the interpreter except for "None".


I would expect that the window should show the game board:

0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0


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

def print_board(board):
    for row in board:
        print " ".join(row)


#2

So you expect something to be printed, but it isn't?

Alright, which part of your code prints something?
When does that part of your code run? What can you do to make it run?


#3

There is no output because you don't call the print_board function.


#4

I see my stupid mistake now. You were right eveat, I expected the print in my function above to print the board instead of calling the print_board function separately... I guess it was confusing me because the interpreter kept telling my my answer was right even though the output is part of the answer...