Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = 1
- y = 2
- print("x is {}".format(x))
- print("y is {}".format(y))
- print("Swapping...")
- x, y = y, x
- print("Swapped.")
- print("x is {}".format(x))
- print("y is {}".format(y))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement