The tuple index <index> is out of range

Tuples can be accessed by an index, but it must not exceed the range of the data:

Q: item 2 of (1,"a")
E: The tuple index 2 is out of range.

Tuple items are zero-based. Here the item is out of range – the legal values are 0 and 1:

Q: item 1 of (1,"a")
A: a