DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
merge two lists python
# list1 = [1, 2, 3] # list2 = [4, 5] # new_list = [1, 2, 3, 4, 5] new_list = list1.extend(list2)
Source by xahlee.info #
PREVIOUS
NEXT
Tagged:
#merge
#lists
#python
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit