def swap(x, y):
    t = x
    x = y
    y = t
    print 'x, y:', x, y

a = 1
b = 2
swap(a, b)
print 'a, b:', a, b