Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list extend

# testing
a = [1, 2]
b = [3, 4]
a.extend(b)
print(a) # [1, 2, 3, 4]
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #python #list #extend
ADD COMMENT
Topic
Name
9+9 =