Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

swapping of two numbers in python

a,b=5,6
print(a,b)  
a=a+b  
b=a-b   
a=a-b
print(a,b)
 
PREVIOUS NEXT
Tagged: #swapping #numbers #python
ADD COMMENT
Topic
Name
9+5 =