Your function didn't print out the correct response


#1

Hello!
Have been working on def print_board and keep getting the error: It looks like your function didn’t print out the correct response!
My code below


board = []
for i in range(5):
  board.append(["O"] * 5)

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

print_board(board)



#2

Look at the instruction carefully :slight_smile:
you are told to print something else


#3

print print_board(board)
Doesn’t work.


#5

Are you in no.6 exercise(Printing Pretty)?

If yes then your code is perfectly fine.

you can try after refreshing your browser or reset your code and write the code again :slight_smile:


#6

Thank you for your help! :grinning:


#7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.