Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def drawboard(board):
- print (' | | ')
- print ('' +board[6]+ ' | ' +board[7]+ ' | ' +board[8] )
- print (' | | ')
- print ('---------------')
- print (' | | ')
- print ('' +board[3]+ ' | ' +board[4]+ ' | ' +board[5] )
- print (' | | ')
- print('-----------------')
- print (' | | ')
- print ('' +board[0]+ ' | ' +board[1]+ ' |' +board[2] )
- print (' | | ')
- drawboard(['', '', '', '', '', '', '', '', ''])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement