tuple - Wiktionary, the free dictionary

From Wiktionary, the free dictionary

Wikibooks has more about this subject:

Wikibooks has more about this subject:

From the ending of the words quintuple, sextuple; from Latin -plus.

tuple (plural tuples)

  1. (set theory) A finite sequence of terms.
    Hyponyms: (n terms) n-tuple, (two terms) ordered pair, (three terms) triple, triplet
  2. (databases) A single row in a relational database.
  3. (computing) A set of comma-separated values passed to a program or operating system as a parameter to a function call.
  4. (programming) A fixed-size container data type similar to a list that can hold different types of elements.

    Both Python and Haskell have a tuple data type as well as a list data type.

    Unlike lists, tuples are not formed by consing.

in set theory

single row in a database