These tuple operations have fast, optimized implementations. Other
tuple operations use generic implementations that are often slower.
Unless mentioned otherwise, these operations apply to both fixed-length tuples and variable-length tuples.
item0, ..., itemN(construct a tuple)tuple(lst: list)(construct a variable-length tuple)tuple(lst: Iterable)(construct a variable-length tuple)
tup[n](integer index)tup[n:m],tup[n:],tup[:m](slicing)tup1 + tup2tup * n,n * tup
item0, ..., itemN = tup(for fixed-length tuples)
len(tup: tuple)