假设有 x = 1,y = 2,z = 3,请问如何快速将三个变量的值互相交换?

x = 1
y = 2
z = 3
x,y,z = z,y,x
print(x,y,z)

  

原文地址:https://www.cnblogs.com/sunjingtao/p/10096993.html