About 260,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.

  2. Tuple - Wikipedia

    In mathematics, a tuple is a finite sequence or ordered list of numbers or, more generally, mathematical objects, which are called the elements of the tuple. An n-tuple is a tuple of n elements, where n is a non-negative integer.

  3. Tuple types - C# reference | Microsoft Learn

    May 17, 2023 · C# tuples: lightweight data structures that you can use to group loosely related data elements. Tuples introduce a type that contains multiple public members.

  4. Tuple Operations in Python - GeeksforGeeks

    6 days ago · 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 is Python tuple is immutable, unlike the Python list which is mutable.

  5. What is A Tuple in Python

    You can create an empty tuple by typing in a variable name and adding parenthesis at the end. Alternatively, you can use the tuple () constructor to create the tuple.

  6. What is a tuple? | Definition from TechTarget

    May 31, 2023 · Learn how a data element called a tuple plays a key role in fields such as computer programming, relational database management and mathematics.

  7. 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 where you need to store heterogeneous data, like that in …

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

  9. Python Tuple (With Examples) - Programiz

    Python Tuple A tuple is a collection similar to a Python list. The primary difference is that we cannot modify a tuple once it is created.

  10. How to Declare and Use Tuples in Python?

    Nov 22, 2024 · You can access tuple elements using indexing, like my_tuple[0] for the first element. Tuples are immutable, meaning you cannot modify them once created, but you can concatenate or slice them to create new tuples.