print('-+-+-'print(board['low- ''|board['low- ''|board['low- ']turn 'xfor in range( )printboard(theboardprint('turn for turn move on which space?'move input(theboard[moveturn if turn =' 'turn 'oelseturn 'xprintboard(theboardyou can view the execution of this program at the new code prints out the board at the start of each new turn gets the active player' move updates the game board accordingly and then swaps the active player before moving on to the next turn when you run this programit will look something like this-+-+-+-+turn for move on which spacemid- -+-+| -+-+--snip- | | -+-+ | | -+-+ | turn for move on which spacelow- | | -+-+ | | -+-+ | | this isn' complete tic-tac-toe game--for instanceit doesn' ever check whether player has won--but it' enough to see how data structures can be used in programs