Tuple

Applies to: python

A tuple is an ordered, immutable sequence, useful for fixed groups of values and as dictionary keys. Often used to return several values from a function.

point = (3, 4)
x, y = point          # unpacking
def minmax(a): return (min(a), max(a))

See also: set, mutable-immutable, slicing