Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

unpack list python

l = [0, 1, 2]

a, b, c = l

print(a)
print(b)
print(c)
# 0
# 1
# 2
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #unpack #list #python
ADD COMMENT
Topic
Name
9+3 =