花式赋值

花式赋值

链式赋值

a = b = c = 10

交叉赋值

x = 10
y = 20

x, y = y, x
原文地址:https://www.cnblogs.com/bowendown/p/11497992.html