tuple
nounUK /ˈtʊpəl/ · US /ˈtuːpəl/
Etymology From the ending of the words quintuple, sextuple; from Latin -plus.
Mathematics, Sciences, Set theory A finite sequence of terms.
Computing, Databases, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences A single row in a relational database.
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Sciences A set of comma-separated values passed to a program or operating system as a parameter to a function call.
Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences 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.