a=10
b=20
print("before swapping")
print((a,b)
res=a
a=b
b=res
print("after swapping")
print(a,b)
Find the output for yhe python program

Posted on by