Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

add list to list python

list_1 = [1, 2, 3]
list_2 = [4, 5, 6]

list_1.extend(list_2)
print(list_1)

# [1, 2, 3, 4, 5, 6]
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #add #list #list #python
ADD COMMENT
Topic
Name
9+3 =