You are viewing a single comment's thread from:RE: Python Program to Swap Two VariablesView the full contextsuperoo7 (64)in #python-dev • 5 years ago Won't this method to be easier? x = 5 y = 10 [x, y] = [y,x] print(x) print(y)