arithmetical swap

 x=int(input("Enter x value:"))

y=int(input("Enter y value:"))

x+=y

y=x-y

x=x-y

print("x=",x,"y=",y)