Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Using iterable unpacking operator * with extend

list_1 = [1, 'a']
list_2 = [1, 2, 3]

list_2.extend(list_1)
print(list_2)
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #Using #iterable #unpacking #operator #extend
ADD COMMENT
Topic
Name
3+8 =