Advertisement
Guest User

Untitled

a guest
Feb 13th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. def drawboard(board):
  2. print (' | | ')
  3. print ('' +board[6]+ ' | ' +board[7]+ ' | ' +board[8] )
  4. print (' | | ')
  5. print ('---------------')
  6. print (' | | ')
  7. print ('' +board[3]+ ' | ' +board[4]+ ' | ' +board[5] )
  8. print (' | | ')
  9. print('-----------------')
  10. print (' | | ')
  11. print ('' +board[0]+ ' | ' +board[1]+ ' |' +board[2] )
  12. print (' | | ')
  13.  
  14. drawboard(['', '', '', '', '', '', '', '', ''])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement