A list is a collection of elements stored in a certain linear order.

We can refer to the elements in as first, second, third, … The index of an element in is the number of elements before in . The index can be used to specify where to insert a new element into the list, or where to remove an old element from.