a guest Oct 19th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- print "program to swap two values in variables without \n using 3rd variable"
- a = raw_input("Enter an interger number:")
- b = raw_input("Enter an interger number:")
- print " a = %d \n b = %d " %(a,b)
- a= a+b
- b = a-b
- a = a-b
- print """ After swap
- a = %d \n b = %d """ % (a,b)
RAW Paste Data