REPETITION LOOPS A loop is used to run a block of statements over and over. It is simply a group of commands that is repeated a specified number of times or for a specific length of time. There are two types of loops: 1. Counter loop where repetition is based on a specified number of times. 2. Conditional loop where repetition is based on set conditions.