Loops are instructions in computer programming that repeat a set of instructions multiple times. A loop variant is a piece of data that controls the loop - that is, it changes in some way each time the loop runs. For example, suppose you had a loop that drew shapes on a computer screen. The loop variant could be the shape that the loop draws - so it would be a number from 1 to 10, and each time the loop runs it would switch to drawing the next shape.