Next / Previous / Contents / TCC Help System / NM Tech homepage

8. Sequence types

The next four types described (str, unicode, list and tuple) are collectively referred to as sequence types.

Each sequence value represents an ordered set in the mathematical sense, that is, a collection of things in a specific order.

Python distinguishes between mutable and immutable sequences:

There are four sequence types, but they share most of the same operations.