Your function didn't print out the correct response


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)



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


print print_board(board)
Doesn’t work.


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:


Thank you for your help! :grinning:


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