# swap variables x = 5 y = 10 x, y = y, x # In other languages you need a temp variable. # temp = a; # a = b; # b = temp;