pass it try changing the code to the followingtheboard {'top- '' ''top- '' ''top- '' ''mid- '' ''mid- '' ''mid- '''low- '''low- '''low- '' 'def printboard(board)print(board['top- ''|board['top- ''|board['top- ']print('-+-+-'print(board['mid- ''|board['mid- ''|board['mid- ']print('-+-+-'print(board['low- ''|board['low- ''|board['low- ']printboard(theboardyou can view the execution of this program at now when you run this programthe new board will be printed to the screen | | -+-+ | -+-+| because you created data structure to represent tic-tac-toe board and wrote code in printboard(to interpret that data structureyou now have program that "modelsthe tic-tac-toe board you could have organized your data structure differently (for exampleusing keys like 'top-leftinstead of 'top- ')but as long as the code works with your data structuresyou will have correctly working program for examplethe printboard(function expects the tic-tac-toe data structure to be dictionary with keys for all nine slots if the dictionary you passed was missingsaythe 'mid-lkeyyour program would no longer work | | -+-+traceback (most recent call last)file "tictactoe py"line in printboard(theboardfile "tictactoe py"line in printboard print(board['mid- ''|board['mid- ''|board['mid- ']keyerror'mid-lnow let' add code that allows the players to enter their moves modify the tictactoe py program to look like thistheboard {'top- '''top- '''top- '''mid- '''mid- '''mid- '''low- '''low- '''low- ''def printboard(board)print(board['top- ''|board['top- ''|board['top- ']print('-+-+-'dictionaries and structuring data