Program to swap two numbers

          # PROGRAM

num1=input('Enter the first number :')
num2=input('Enter the second number :')
num1=num1+num2
num2=num1-num2
num1=num1-num2
print 'The numbers are 1) ',num1,'and 2)',num2



Popular Posts