Well, you got what you told to print!
board
is a list of list of str
s, so board[i]
must be a list of str
s, and when you write print(board[i])
, you get a list!
You may need to write this:
print(''.join(board[i]))
solved What i did wrong in my python function?