python range functo code example
Example 1: for i in range start
for i in range([start], stop[, step])
Example 2: range py
range(start, stop, step)
x = range(0,6)
for n in x:
print(n)
>0
>1
>2
>3
>4
>5
for i in range([start], stop[, step])
range(start, stop, step)
x = range(0,6)
for n in x:
print(n)
>0
>1
>2
>3
>4
>5