Following is a program to swap the value between two variables using a third variable :
#Swapping the values using a third variable
x = int(input("Input A\n"))
y = int(input("Input B\n"))
z = x
x = y
y = z
print(f"A: {x} B: {y}")x – integer
y – integer
z – integer
values of x and y are getting interchanged by using variable z

