1️⃣ 找第三变量数据交换
a = 10
b = 3
c = a
a = b
b = c
2️⃣不使用其他变量数据交换
a = 10
b = 3
a = a+b
b = a-b
a = a-b
3️⃣ 简单的赋值运算
a = 10
b = 3
b,a = a,b
1️⃣ 找第三变量数据交换
a = 10
b = 3
c = a
a = b
b = c
2️⃣不使用其他变量数据交换
a = 10
b = 3
a = a+b
b = a-b
a = a-b
3️⃣ 简单的赋值运算
a = 10
b = 3
b,a = a,b