'''
4. Write python program to swap 2 numbers without using temp variable
'''

print("Enter 2 numbers:")
num1=int(input("num1 = "))
num2=int(input("num2 = "))
num1=num1+num2
num2=num1-num2
num1=num1-num2
print("num1 = ",num1," and num2 = ",num2)

