A loop is an example of indefinite iteration.

A for loop is an example of iteration where the number of iterations is known in advance.

The range function is often used in loops to iterate over a specific sequence of numbers.

A common method to exit a loop is using the statement.