I am trying to make a tic tac toe game and I want to have an interface where that can be changed by the user and computer's choice. For example, if I wanted to replace "2", which would be where the top middle open box would be, with "x", I could. However, I can't figure it out. Any help is appreciated.
tic_tac_screen = [["1", "2", "3"],
["4", "5", "6"],
["7", "8", "9"]]
tic_tac_screen.pop(1)
tic_tac_screen.insert(1, "x")
print(tic_tac_screen)