About 78,600 results
Open links in new tab
  1. Python Tuples - W3Schools

    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 qualities and usage.

  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

    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, double, triple, …

  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 · 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 first element and goes up to n-1, where n is 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. 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; …

  8. How to Declare and Use Tuples in Python?

    Apr 6, 2026 · A tuple is a collection of items that is ordered and immutable. Think of it like a fixed record; once you create it, you cannot change, add, or remove its elements.

  9. Python Tuples - Python Guides

    You can create a tuple by placing comma-separated values inside parentheses: ... Note that for a single-element tuple, you need to include a trailing comma, or Python will interpret it as a simple value in …

  10. Python Tuples: A Beginner’s Guide - Dataquest

    Apr 8, 2026 · You should use a tuple when your data won't change. Tuples are ideal for fixed values like coordinates, configuration settings, or values returned from a function.