DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
add two list in python
list1
=
[
"a"
,
"b"
,
"c"
]
list2
=
[
1
,
2
,
3
]
list1
.
extend
(
list2
)
print
(
list1
)
PREVIOUS
NEXT
Tagged:
#add
#list
#python
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit