Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to combine two lists in one python

listone = [1, 2, 3]
listtwo = [4, 5, 6]

joinedlist = listone + listtwo #[1, 2, 3, 4, 5, 6]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #combine #lists #python
ADD COMMENT
Topic
Name
3+7 =