Question 1 out of 4

    What is the purpose of a loop in programming?

    To repeat a block of code

    A loop in programming is used to repeat a block of code until a certain condition is met.