a=input("enter the value of a\n")
print(a)
b=input("enter the value of b\n")
print(b)
temp=a
a=b
b=temp
print("value of a after swapping:")
print(a)
print("value of b after swapping:")
print(b)
To embed this project on your website, copy the following code and paste it into your website's HTML: