python for loop step without end stop value code example
Example 1: python for loop jump by 2
for i in range(0,10,2):
print(i)
Example 2: python range not starting at 0
>>> range(1,11)
for i in range(0,10,2):
print(i)
>>> range(1,11)