DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python copy list
a=[1,2,3,4] b=a[:] ''' now b has all elements of a'''
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#copy
#list
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit