Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

mulitplication symbo for unpacking in python

>>> numbers = [2, 1, 3, 4, 7]
>>> more_numbers = [*numbers, 11, 18]
>>> print(*more_numbers, sep=', ')
2, 1, 3, 4, 7, 11, 18
Source by treyhunner.com #
 
PREVIOUS NEXT
Tagged: #mulitplication #symbo #unpacking #python
ADD COMMENT
Topic
Name
1+6 =