Range() produces a rundown of numbers, which is utilized to repeat over for circles.
for I in range(5):
print(i)
The range() work goes with two arrangements of boundaries.
range(stop)
stop: It is the no. of numbers to create and begins from zero. eg. range(3) == [0, 1, 2].
range([start], stop[, step])
Start: It is the beginning no. of the grouping.
Stop: It determines the furthest reaches of the succession.
Step: It is the increasing element for producing the grouping.
Focuses to note:
Just whole number contentions are permitted.
Boundaries can be positive or negative.
The range() work in Python Language begins from the zeroth record.