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

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

The statement allows skipping the rest of the current iteration and going to the next one.

In iteration, the number of iterations is not known in advance.