DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+3 =
Submit