Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python swap numbers

x, y = 10, 20
print(x, y) 	# 10 20
x, y = y, x 
print(x, y) 	# 20 10
 
PREVIOUS NEXT
Tagged: #python #swap #numbers
ADD COMMENT
Topic
Name
8+9 =