Python By Code
Wednesday, July 8, 2015
Swap using 2 variables
a=input("Enter a")
b=input("Enter b")
a=a+b
b=a-b
a=a-b
print a
print b
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment