Python In-Place Swapping Of Two Numbers

x, y = 10, 20
print(x, y) 
x, y = y, x 
print(x, y) 

Comments