TUPLE in Chinese translation

Examples of using Tuple in English and their translations into Chinese

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
The Python tuple class is also introduced and used to demonstrate the concept of a container type.
还介绍并使用了Pythontuple类,以演示容器类型的概念。
Row: A row(= tuple, entry or record) is a group of related data, for example the data of one subscription.
行:一行(=元组,或记录)是一组相关的数据,例如一条用户订阅的数据。
First, SPR can be defined as tuple< N, A, u>, formally known as normal form.
首先,SPR可以定义为元组<N,A,u>,正式称为规格化形式:.
Because tuple is the name of a constructor, you should avoid using it as a variable name.
由于tuple是构造器的名称,应避免将其用作变量名。
The coordinates for any point within this space are shown as a tuple(in this case a 3-tuple, since there are three axes).
在此空间内的任何点的坐标都被表示为元组(在这种情况下是3元组,因为有三个轴)。
They are two examples of sequence data types(see Sequence Types- str, unicode, list, tuple, bytearray, buffer, xrange).
它们是序列数据类型的两个例子(参见序列类型-str,unicode,list,tuple,bytearray,buffer,xrange。
In effect, tuple() freezes a list, and list() thaws a tuple.
从效果上看,tuple()冻结列表,而list()融化元组
If you want to use a sequence as a dictionary key, you have to use an immutable type like a tuple or string.
如果你想使用一个序列作为字典的键,那么你必须使用元组或字符串这样的不可变类型。
Strided arrays must define a strides(A) method that returns a tuple of"strides" for each dimension;
Stridedarrays必须定义一个strides(A)方法,该方法为每个维返回一个“strides”元组;.
For now, let's proceed with these two data types and skip List, Tuple, and Dictionary, which are advanced data types in Python.
现在,让我们继续这两种数据类型并跳过List,Tuple和Dictionary,它们是Python中的高级数据类型。
For example, Listing 18-5 shows an attempt to destructure into two variables a tuple with three elements that won't work.
例如,示例18-5展示了尝试用两个变量解构三个元素的元组,这是不行的:.
V is a tuple of three elements, and(x, y, z) is a tuple of three variables.
V是一个三元素的tuple,并且(x,y,z)是一个三变量的tuple
There may or may not be parentheses when typing, but parentheses are usually required(if the tuple is part of a larger expression).
在输入时可能有或没有括号,不过括号通常是必须的(如果元组是更大的表达式的一部分)。
Get<T>() The standard library now supports the get<T>() template function to allow tuple elements to be addressed by their type.
Get<T>()标准库现在支持get<T>()模板函数以允许元组元素按其类型进行寻址。
You can also use multi-variable assignment to build functions that return multiple values, simply by returning a tuple of all the values.
还可以使用多变量赋值创建返回多值的函数,只需返回一个包含所有值的元组
They may be input with or without surrounding parentheses, although often parentheses are necessary anyway(if the tuple is part of a larger expression).
它们可以在有或没有环绕括号的情况下输入,尽管经常括号是必要的(如果元组是较大表达式的一部分)。
They are two examples of sequence data types(see Sequence Types- list, tuple, range).
以下是2个序列数据类型的例子(具体请看SequenceTypes-list,tuple,range)。
It is a table of elements(usually numbers), all of the same type, indexed by a tuple of positive integers.
它是一个元素表(通常是数字),都是相同类型的,由正整数元组索引。
Here's a cool programming shortcut: in Python, you can use a tuple to assign multiple values at once.
以下是一种很酷的编程捷径:在Python中,可使用元组来一次赋多值。
You can also use multi-variable assignment to build functions that return multiple values, simply by returning a tuple of all the values.
您也可以使用多变量赋值来创建返回多个值的函数,只要返回一个包含所有值的tuple即可。
Results: 244, Time: 0.0276

Top dictionary queries

English - Chinese