Is it possible to increment a for loop inside of the loop in python 3?
for example:
for i in range(0, len(foo_list)): if foo_list[i] < bar
while i < end: # do stuff # maybe i +=1 # or maybe i += 4
I suppose you could do this in a for loop if you tried, but it's not advisable. The whole point of python's for loop is to look at items, not indices