About 118,000 results
Open links in new tab
  1. Python 元组tuple详解(超详细) - 知乎

    Python内置函数/方法详解—元组tuple元组是 有序且不可更改的集合。 在Python中,元组使用圆括号 () 编写的。 1、创建元组元组的创建很简单,使用圆括号 () 直接创建或者使用 tuple () 函数创建,只需 …

  2. Python Tuple (元组) tuple ()方法 | 菜鸟教程

    Python2.x Python Tuple (元组) tuple ()方法 描述 Python 元组 tuple () 函数将列表转换为元组。 语法 tuple ()方法语法: tuple( iterable ) 参数 iterable -- 要转换为元组的可迭代序列。 返回值 返回元组。 实例 …

  3. Python 元组tuple详解(超详细)_python tuple-CSDN博客

    Jul 31, 2022 · 还探讨了元组与其他数据结构的区别,并列举了内置函数如print ()、len ()、type ()、tuple ()、max ()、min ()和del在元组上的应用。 此外,还讲解了count ()和index ()方法。

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

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

  6. tuple_百度百科

    Tuple(元组)是英语中的名词,常见于计算机科学领域,用于描述一种包含多个元素的有序集合。 其英式发音为 [tʌpl],美式发音为 [tʌpl],中文译为“元组”或“数组”。

  7. Python tuple元组详解 - C语言中文网

    元组(tuple)是 Python 中另一个重要的序列结构,和列表类似,元组也是由一系列按特定顺序排序的元素组成。 元组和列表(list)的不同之处在于: 列表的元素是可以更改的,包括修改元素值,删除和 …

  8. Tuple: the best remote pair programming app on macOS and Windows

    Tuple allows me to thrive as an independent developer, easily chatting with freelance clients, mentoring others, and collaborating on open-source projects.

  9. 深入理解Python Tuple:基础、用法与最佳实践 - geek-blogs.com

    Sep 27, 2025 · 在Python编程中,元组(tuple)是一种重要的数据结构。 它与列表(list)类似,但有着自己独特的性质。 元组一旦创建,其元素就不可修改,这一特性使得它在某些场景下非常有用。

  10. 使用list和tuple - Python教程 - 廖雪峰的官方网站

    tuple一开始指向的list并没有改成别的list,所以,tuple所谓的“不变”是说,tuple的每个元素,指向永远不变。 即指向 'a',就不能改成指向 'b',指向一个list,就不能改成指向其他对象,但指向的这个list本 …