tuple
English · noun
Senses
Sense 1 · noun · corpus
In Python, a group of items kept in a set order. Once you make a tuple, you cannot replace, add, or remove its items.
Source: Mova's open texts. Licence: cc-by-sa-4.0.
Forms and counts
Noun
- Forms: tuple (Number: Sing); tuples (Number: Plur).
- Seen 9 times in Mova's corpus index.
Examples
5 source examples.
- Python makes a distinction between lists and tuples. — Wikipedia: Python (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- The + operator can be used to concatenate two tuples, which does not directly modify their contents, but produces a new tuple containing the elements of both. — Wikipedia: Python (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- Tuples, written as , are immutable and thus can be used as the keys of dictionaries, provided that all of the tuple's elements are immutable. — Wikipedia: Python (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- Python makes a distinction between lists and tuples. — Wikipedia: Python (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — an example found by Mova's corpus index (cc-by-sa-4.0)
- Tuples, written as , are immutable and thus can be used as the keys of dictionaries, provided that all of the tuple's elements are immutable. — Wikipedia: Python (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — an example found by Mova's corpus index (cc-by-sa-4.0)
Notes and derived forms
corpus
Sources
Mova's concept inventory, from the Open Multilingual Wordnet (Princeton WordNet 3.0, WOLF) and Wiktionary translation tables. Licence: CC-BY-SA-4.0 AND WordNet-3.0 AND CeCILL-C.
Mova's open texts. Licence: cc-by-sa-4.0.
Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.
This page in Markdown https://md.dictionary.elamur.ai/free/en/english/tuple/