Python Sequence Types - thelastmile/FreeCodeCamp GitHub Wiki
Python Sequence Types
These represent finite ordered sets indexed by non-negative numbers. The built-in function len() returns the number of items of a sequence. When the length of a sequence is n, the index set contains the numbers 0, 1, ..., n-1. Item i of sequence a is selected by a[i].
Python Docs - Standard Type Hierarchy
More
-
Built-in sequence types are:
listtuplerange
-
Built-in sequence types are iterable types (implement required
__iter__()method). -
Operations: