元组赋值:一种赋值语句,等号右侧用一个序列,左侧为一个变量构成的元组。
An assignment with a sequence on the right side and a tuple of variables on the left.
一个新私有变量untitled1出现在左侧的列表中。
A new private variable Untitled1 appears in the list on the left.
右侧的内容先进行运算,然后这些元素会赋值给左侧的变量。
The right side is evaluated and then its elements are assigned to the variables on the left.
序列拆封要求左侧的变量数目与序列的元素个数相同。
Sequence unpacking requires the list of variables on the left to have the same number of elements as the length of the sequence.
序列拆封要求左侧的变量数目与序列的元素个数相同。
Sequence unpacking requires that the list of variables on the left have the same number of elements as the length of the sequence.
若要设置默认属性值,请在赋值语句左侧使用带有参数列表的变量名。
To set the default property value, use the variable name, with an argument list, on the left side of an assignment statement.
通过将变量名称置于赋值语句的左侧,可以在变量中存储值。
Use the variable name on the left side of an assignment statement.
通过将变量名称置于赋值语句的左侧,可以在变量中存储值。
Use the variable name on the left side of an assignment statement.
应用推荐