Nothing shown in the interpreter


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):

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


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?


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


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...