Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

slice all elements from list

l = ["a", "b", "c", "d", "e"]
x = l[:]

print(x)
#slice all elements from l to x
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #slice #elements #list
ADD COMMENT
Topic
Name
4+8 =