Loops

Sometimes we take for granted the ability to instruct someone to repeat an action, rather than needing to tell them to perform each individual action. Imagine having to tell someone, “Set this plate on the table, then set this plate on the table, then set this plate on the table…” instead of simply saying, “Set the table for four.”

We use counting loops when we want to tell the computer to repeat an action a certain number of times.