• The collection of objects can be any Python container type, including the tuple, string, and list types discussed in earlier articles.

    对象集合可以任何Python容器类型包括前面文章讨论tuplestringlist类型

    youdao

  • You can use the for loop with any Python object that provides an iterator, including the built-in sequence types such as the tuple, string, and list.

    可以for循环提供迭代器的任何Python对象结合使用,这些对象包括tuplestringlist等内置序列类型

    youdao

  • The rest of this article discusses the tuple type, which serves to introduce many of the fundamental concepts related to creating and using container types in Python.

    本文的其余部分讨论了tuple类型用于引入许多创建使用Python中的容器类型有关基本概念

    youdao

  • In Listing 2, you can see that each element in a tuple can be of a different type, but the types in a list must be homogeneous.

    清单2中,可以看到tuple中的每个元素可以不同类型列表中的元素必须相同类型的。

    youdao

  • The Python tuple type behaves in a similar manner as a bag in that it can hold different types of objects.

    Pythontuple类型口袋类似可以存放不同类型对象

    youdao

  • And just like a tuple, a list can hold different types of data (or different types of objects). This is what I mean by a heterogeneous mutable sequence.

    tuple一样,list也可以持有不同类型数据(不同类型的对象),就是所说异构可变序列

    youdao

  • Previous articles in this series introduced some of the container data types in the Python programming language, including the tuple, the string, and the list (see Resources).

    系列前面的文章介绍了Python编程语言中的一些容器数据类型包括tuplestringlist(参见参考资料)。

    youdao

  • Most of the container types in Python, including the tuple, allow you to access items easily from the collection using the square bracket operators.

    Python中的多数容器类型其中包括tuple允许使用方括号操作符集合方便地访问数据项

    youdao

  • This basically means that a tuple can hold different types of objects, but once it's created, it can't be changed.

    主要是说tuple可以存放不同类型对象但是一旦创建,就无法更改

    youdao

  • If values are present, each value can either be a single value of a specified type, or a tuple that aggregates multiple values of the same or different types.

    如果存在则每个可以指定类型单个值,可以是聚合相同类型不同类型的多个值的元组

    youdao

  • If values are present, each value can either be a single value of a specified type, or a tuple that aggregates multiple values of the same or different types.

    如果存在则每个可以指定类型单个值,可以是聚合相同类型不同类型的多个值的元组

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定