Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list range

>>> list(range(5, 10))
[5, 6, 7, 8, 9]

>>> list(range(0, 10, 3))
[0, 3, 6, 9]

>>> list(range(-10, -100, -30))
[-10, -40, -70]
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #list #range
ADD COMMENT
Topic
Name
4+5 =