Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Using iterable unpacking operator *

list_1 = [1, 'a']
list_2 = range(2, 4)

list_joined = [*list_1, *list_2]
print(list_joined)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #Using #iterable #unpacking #operator
ADD COMMENT
Topic
Name
8+2 =