DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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]
PREVIOUS
NEXT
Tagged:
#add
#list
#list
#python
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit