A do-while loop is an example of a loop with condition.

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

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

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