Printing Pretty...plz plz help ?!


plz, could you plz explain to me how this code is the right one answer and what is the meaning of this line
for x in board:
print x

board = []
for i in range(5): 
for x in board: 
    print x
def print_board(board):
    for row in board: 
        print " ".join(row)



is not a required part of the exercise, you seem to have added it. It will loop over the items in board, and in turn print them