Answers for "calling from a list elements in steps"

0

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
Posted by: Guest on June-11-2021

Code answers related to "calling from a list elements in steps"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language