Printing pretty(what is the error with my code)


#1


Oops, try again. It looks like you function didn't print out the correct response!

help in resolving the code error.

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

**the output at the console is as follows**;

OOOOO
OOOOO
OOOOO
OOOOO
OOOOO
None


#2

each row should have a spaces between columns:

O O O O O

#3

How is that achieved? whats the code @stetim94


#4

the character between the quotation marks is what is used to join the list into a string


#5

Thanks alot @stetim94 It worked.. such a small error in not spacing between the quotation marks .


#6