Lists and tuples are indexed in the same way that arrays are in other languages.
A simplified explanation is that space is allocated for references to objects, these links occupy a single space, and any index is simply multiplied by the size of the link to obtain an offset in the array. This gives constant, O (1) access for lists and tuples.
source share