About 127,000 results
Open links in new tab
  1. Python Tuples - W3Schools

    Tuple Tuples are used to store multiple items in a single variable. Tuple is one of 4 built-in data types in Python used to store collections of data, the other 3 are List, Set, and Dictionary, all with different …

  2. Tuple - Wikipedia

    Tuple In mathematics, a tuple is a finite sequence (or ordered list) of numbers. More generally, it is a sequence of mathematical objects, called the elements of the tuple. An n-tuple is a tuple of n …

  3. Tuple names - Simple English Wikipedia, the free encyclopedia

    Tuple names In philosophy, mathematics, and computer science, a tuple is an ordered list of elements. The term tuple originates from the sequence of names for such ordered lists, beginning with single, …

  4. Tuple Operations in Python - GeeksforGeeks

    Jul 23, 2025 · Python Tuple is a collection of objects separated by commas. A tuple is similar to a Python list in terms of indexing, nested objects, and repetition but the main difference between both …

  5. Python Tuples - GeeksforGeeks

    Apr 6, 2026 · Tuple Basic Operations Accessing of Tuples We can access the elements of a tuple by using indexing and slicing, similar to how we access elements in a list. Indexing starts at 0 for the …

  6. Python Tuple: How to Create, Use, and Convert

    Sep 16, 2025 · Learn how to create a Python tuple, how to use tuples, how to convert them to lists and strings, and how tuples differ from lists and sets.

  7. Python - Access Tuple Items - W3Schools

    Exercise? You can access tuple items by referring to the index number, but what is the index number of the first item?

  8. How to Declare and Use Tuples in Python?

    Apr 6, 2026 · Learn how to declare and use tuples in Python with this expert guide. Discover methods for packing, unpacking, and immutability with practical US-based examples

  9. 5. Data Structures — Python 3.14.5 documentation

    1 day ago · A tuple consists of a number of values separated by commas, for instance: ... As you see, on output tuples are always enclosed in parentheses, so that nested tuples are interpreted correctly; …

  10. Python Sets and Tuples Explained with Examples | OpenPython

    May 23, 2026 · Learn Python sets and tuples with clear examples. Covers creating sets, set operations (union, intersection, difference), frozensets, tuples, tuple unpacking, and when to use each data type.