print(board[1] + '|' + board[2] + '|' + board[3],/n,'-+-+-') why doesnt this work in python

The code provided is missing a closing quotation mark for the first string and an opening quotation mark for the second string. It should be:

main.py
print(board[1] + '|' + board[2] + '|' + board[3] + '\n' + '-+-+-')
67 chars
2 lines

Also, \n should be enclosed in quotes to be treated as a string.

gistlibby LogSnag