Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

:: python

>>> range(10)[::2]
[0, 2, 4, 6, 8]

seq[start:end:step]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
6+2 =