DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
add list to end of list python
>>>var=7 >>>array = [1,2,3,4,5,6] >>>array.insert(0,var) >>>array [7, 1, 2, 3, 4, 5, 6]
Source by w3programmers.org #
PREVIOUS
NEXT
Tagged:
#add
#list
#list
#python
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit