DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
swapping variables in python
a = 1 b = 2 a, b = b, a # a = 2 , b = 1
Source by note.nkmk.me #
PREVIOUS
NEXT
Tagged:
#swapping
#variables
#python
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit