Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

merge two lists

# Makes list1 longer by appending the elements of list2 at the end.
list1.extend(list2)
Source by thispointer.com #
 
PREVIOUS NEXT
Tagged: #merge #lists
ADD COMMENT
Topic
Name
6+6 =