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

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

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

    描述 Python 元组 tuple () 函数将列表转换为元组。 语法 tuple ()方法语法: tuple( iterable ) 参数 iterable -- 要转换为元组的可迭代序列。 返回值 返回元组。 实例 以下实例展示了 tuple ()函数的使用方法:

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

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

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

  5. Python的基本数据类型——Tuple - 知乎

    元组(Tulpe)是Python中另外的一种数据类型,和列表(List)一样也是一组有序对象的集合,大部分的属性和列表(List)一样,接下来我们来看看,Python中为什么会存在元组,以及他和列表(List)不 …

  6. tuple_百度百科

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

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

  8. C++ tuple元组的基本用法 (总结)-CSDN博客

    Mar 12, 2019 · 本文深入解析C++11中的元组 (tuple),包括其基本概念、创建与初始化方式、元素操作技巧,以及如何利用元组替代结构体,实现更简洁直观的数据封装。 文章还介绍了元组元素数量查询 …

  9. Python 元组 - 菜鸟教程

    Python2.x Python 元组 Python 的元组与列表类似,不同之处在于元组的元素不能修改。 元组使用小括号,列表使用方括号。 元组创建很简单,只需要在括号中添加元素,并使用逗号隔开即可。 如下实例:

  10. 元组 - 维基百科,自由的百科全书

    元组 元組 (英語: Tuple)或译为 多元组,也称为 顺序组,泛指有限個 元素 所組成的 序列。 在數學及計算機科學分別有其特殊的意義。 数学 上, n元组 或 多元组 是对象个数 有限 的 序列。 元组由三 …