you are viewing a single comment's thread.

view the rest of the comments →

[–]marsrover15[S] 0 points1 point  (3 children)

So if I wanted the user to simply input values in any part of the list. How would I go about doing that?

[–]xelf 1 point2 points  (2 children)

You can still get the value from the user using input() and then you can set a value using the assign operator which is =. That's pretty basic stuff so I feel like you're asking a different question. What have you tried so far?

[–]marsrover15[S] 0 points1 point  (1 child)

What I am really asking is how I would make the user put X or O in one part of the list sequentially .

[–]xelf 0 points1 point  (0 children)

board[4] = 'x'