x = 10 y = 11 x, y = y, x "Swapping by simultaneously creating a tuple and unpacking it" print(x, y)
>>> x, y = 10, 20 >>> x, y = y, x (20, 10)
A = A operation B B = A inverse-operation B A = A inverse-operation B