Programming Loop
Understand repetition in computer programs.
What is the main purpose of a loop in programming?
Explanation
A loop repeats a block of instructions while a condition is satisfied or for a specified number of iterations. Loops help avoid unnecessary code repetition.