Fixed loops allow programmers to repeat a block of code a set number of times without errors. A fixed loop, also known as iteration, repeats code through the use of a for loop. While for loops typically increment by one each repetition, it is possible to specify a different step count to change the increment amount.