see how for loop in python work code example
Example: python for loop
//x starts at 1 and goes up to 5 increasing by 2
for x in range(1,5,2):
print(x)
//x starts at 1 and goes up to 5 increasing by 2
for x in range(1,5,2):
print(x)