Tuple
A tuple is an ordered, finite collection of elements, called components or coordinates, with a fixed length n, where n is a nonnegative integer. An n-tuple is typically written as (a1, a2, ..., an) and is an element of the Cartesian product A1 × A2 × ... × An. The order of elements matters, and two n-tuples are equal if and only if their corresponding components are equal. The 0-tuple, denoted (), is the unique tuple of length zero. In mathematics and computer science, tuples can contain elements of different types.
In computing, a tuple is a finite, ordered collection that is usually immutable and used to group
Beyond programming, the term also appears in databases (a row in a relation) and geometry (a point’s