a = 1 b = 2 t = b # t = 2 b = a # b = 1 a = t # a = 2 print(a) # 2 print(b) # 1
a = 1 b = 2 a, b = b, a