Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Concatenate lists

>>> a = [1, 2, 3]
>>> b = [4, 5, 6]
>>> c = a + b
>>> print(c)
[1, 2, 3, 4, 5, 6]
Source by www.py4e.com #
 
PREVIOUS NEXT
Tagged: #Concatenate #lists
ADD COMMENT
Topic
Name
2+3 =