range int python code example
Example 1: range in python
#range(start,stop,step)
for x in range(0,20,2):
print(x)
Example 2: range in python
for i in range (start, step, stop):
dosomething()
#range(start,stop,step)
for x in range(0,20,2):
print(x)
for i in range (start, step, stop):
dosomething()