6. Printing Pretty : Function is printing correct response but I'm still getting an error [SOLVED]


#1



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

My code is correctly printing the 5 rows with spaces between them, but codecademy is still throwing an error message telling me that it did not print correctly. Has anyone else encountered this issue, or is there just an error I'm not seeing in my code?


board = []

for i in range(5):
    board.append(["0"] * 5)
    
def print_board(board):
    for row in board:
        print " ".join(row)

print_board(board)


#2

Hi you should print the letter "O" instead of the number "0"


#3

...

Wasted an hour of my life on that one.

Thanks, it worked.