Explaining Simple Loops
From Bold Idea Knowledgebase
Introduction
Computers are really good at repeating actions. You can count to ten, twenty or one hundred, but a computer can count to a billion or a trillion. It won’t get bored, and it will only take a few seconds. Whether it’s counting, drawing or anything – computers can repeat things hundred and even millions of times.
In coding, we call this a loop. A loop is how you repeat your code over and over again. When you know in advance that you want to do something a certain number of times, it’s easier if you tell the computer to “repeat it that many times” using a loop.
What is it?
A loop is the action of doing something over and over again.