Range expressions are only evaluated once before beginning a for loop, which makes them unsuitable for loops which manually alter the index.
Range expressions are only evaluated once before beginning a for loop, which makes them unsuitable for loops which manually alter the index.