Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

range in python

range(start:optional, stop:required, step:optional) 
A built-in python function to create a sequence of integers.
range(10) #[0 to 9]
range[2,9] #start 2 and stop 10
print(list(range(10))) #change create range object into list.
range(1,100,10) 
Source by codeinplace2021.github.io #
 
PREVIOUS NEXT
Tagged: #range #python
ADD COMMENT
Topic
Name
3+4 =