1.一行代码更改两变量的值 a = 1 b = 2 a,b = b,a print(a,b)a,b = [1,2]a,b = [1,2],[2,3] 转载于:https://www.cnblogs.com/chif/p/9265756.html