Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

calling from a list elements in steps

some_list[start:stop:step]
#example
l = list(range(0,9))
l[0::2] #> take the first position until the last by step 2
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calling #list #elements #steps
ADD COMMENT
Topic
Name
2+6 =