Traceback (most recent call last):
File "tictactoe.py", line 304, in <module>
if check_win(list1,pc):
File "tictactoe.py", line 118, in check_win
moves=retrive_base(list,str)
File "tictactoe.py", line 113, in retrive_base
if list[a]==str:
KeyError: 9