def foo(x, y): x,y = y,x print x,y