I'm new to python and learning from a book can't seem to find the answer I'm looking for in the book or anywhere on google. maybe I'm just not wording my questions right.
So in the book it there is a simple tic-tac-toe game. the if
statement is written like this....
if theBoard[move] == ' ':
theBoard
is a dictionary and move
is an input. I'm wondering what does it mean when two variables sit together like that and one is inside a bracket.