Programming (Year 12)

What is a loop, and why is it used in programming?

A loop is a control structure that repeats a block of code multiple times, allowing for efficient code execution.