What's Wrong in my Code?


#1



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

['O', 'O', 'O', 'O', 'O']
['O', 'O', 'O', 'O', 'O']
['O', 'O', 'O', 'O', 'O']
['O', 'O', 'O', 'O', 'O']
['O', 'O', 'O', 'O', 'O']


board = []

def board_1(board): 
    """# to make a board"""
    for n in range(0,5):
        board.append(["O"] * 5)
    return board

def print_board(board):
    board_1(board)
    for row in board:
        print(row)

print_board(board)


#2

when printing the board, you don't have to call the function which creates the board.


#3

Thank YOU very much!


#4