DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Unpacking list using an asterisk
x,y, *z = [5,10,15,20,25,30] print(x) print(y) print(z)
Source by itsmycode.com #
PREVIOUS
NEXT
Tagged:
#Unpacking
#list
#asterisk
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit