About 93,100 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 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 …

  4. 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.

  5. 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.

  6. 5. Data Structures — Python 3.14.5 documentation

    1 day ago · 5. Data Structures ¶ This chapter describes some things you’ve learned about already in more detail, and adds some new things as well. 5.1. More on Lists ¶ The list data type has some …

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

    Apr 8, 2026 · When you assign multiple comma-separated values to a variable, Python automatically packs them into a tuple. ... This comes up often in function return values and loop unpacking, so it's …

  8. Python's tuple Data Type: A Deep Dive With Examples

    In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations …

  9. What is a Tuple? - Tuple

    To create a tuple, you use parentheses to enclose the values, separated by commas. For example, a tuple containing two integers could be created like this: (3, 5).

  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...