num1=10
num2=20
print("Numbers before swapping")
print("num1 is",num1)
print("num2 is",num2)
# temp=num1
# num1=num2
# num2=temp
# print("Numbers after swapping")
# print("num1 is",num1)
# print("num2 is",num2)
# #operators
# sum=num1+num2
# num1=sum-num1
# num2=sum-num2
# print("Numbers after swapping")
# print("num1 is",num1)
# print("num2 is",num2)
num1=num1+num2 #num1=10+20=30
num2=num1-num2 #num2=30-20=10
num1=num1-num2 #num1=30-10=20
print("Numbers after swapping")
print("num1 is",num1)
print("num2 is",num2)
s