About 686,000 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. A tuple is a collection which is …

  2. Tuple Operations in Python - GeeksforGeeks

    Apr 11, 2025 · The task of creating a list of tuples in Python involves combining or transforming multiple data elements into a sequence of tuples within a list. Tuples are immutable, making …

  3. Python Tuples - Python Guides

    Declare and Use Tuples in Python; Convert a Tuple to a String in Python; Concatenate Tuples in Python; Sort by the Second Element in a Tuple in Python; Sort a Tuple in Python; Split a Tuple …

  4. Python Tuple (With Examples) - Programiz

    We create a tuple by placing items inside parentheses (). For example, # Output: (1, 2, -5) We can also create a tuple using a tuple () constructor. For example, print(tuple_constructor) # Output: …

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

    Jun 24, 2024 · 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.

  6. Python Tuples - Python Geeks

    Learn about Python tuples, accessing elements of tuples, their immutability property, etc. See functions and methods on tuples in Python.

  7. Python Tuples: A Step-by-Step Tutorial (with 14 Code Examples)

    Mar 28, 2022 · What Is a Python Tuple? A tuple represents a sequence of any objects separated by commas and enclosed in parentheses. A tuple is an immutable object, which means it …

  8. Tuples in Python - PYnative

    Apr 9, 2021 · Learn how to use a tuple data structure in Python. Create, access, and modify a tuple and all other operations we can perform on a tuple.

  9. Top 10 Tuple Operations in Python - How to Create Tuple in Python

    May 1, 2025 · Tuples in Python are the type of data structure that holds a collection of items and cannot be changed after it is created. This makes tuples great for storing data that should stay …

  10. Basics of Python: Tuple Examples - LearnPython.com

    Jan 8, 2024 · What is a tuple in Python? Explore this data type, learn how it’s different from Python’s other data types, and discover use cases and tuple examples. A tuple is one of …

Refresh