Swapping variable values

Note: Originally from: Learning Python

Setup the originally variables and their values

one = 1
two = 2

View the original variables

'one =', one, 'two =', two
('one =', 1, 'two =', 2)

Swap the values

one, two = two, one

View the swapped values, notice how the values for each variable have changed

'one =', one, 'two =', two
('one =', 2, 'two =', 1)