Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python array colon

a[start:stop]  # items start through stop-1
a[start:]      # items start through the rest of the array
a[:stop]       # items from the beginning through stop-1
a[:]           # a copy of the whole array
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #array #colon
ADD COMMENT
Topic
Name
2+9 =