What does index mean?

The position of an item in a list or a string, counting from 0: the first item is at index 0, the second at index 1.

Also written as: indexes, indices

In a lesson

Each item of board is itself a list: a row. board[1] is the second row, and board[1][2] is the item in column 2 of that row, which is 6. Read the two indexes as row, then column.

Learn it

Used in

and 33 more lessons.

Do the lesson in the simulator

All glossary terms