爱词霸英语   汉语   手机版   软件版下载 | English
每日一句:正在加载...
1.An assignment statement evaluates the expression list (remember that this can be a single expression or a comma-separated list, the latter yielding a tuple) and assigns the single resulting object to each of the target lists, from left to right.
一个赋值语句对表达式序列求值(还记得这可以是单个表达式或者一个逗号分隔的序列,后者导出一个元组),然后从左到右地将对象结果一一地赋给目的序列的每个对象。收藏指正
2.An augmented assignment evaluates the target (which, unlike normal assignment statements, cannot be an unpacking) and the expression list, performs the binary operation specific to the type of assignment on the two operands, and assigns the result to the original target.
一条增量赋值语句对目标(和一般的赋值语句不同,它不能是展开的对象)和表达式列表求值,执行特定于两个操作数的赋值类型的二元运算,并将结果赋值给原先的目标。收藏指正
尝试查询