In this lesson we are going to take a look at using loops to make your code more efficient.Â
Without the loop function, you would have to program each individual trip around the poles, which would be exactly the same each time. The loop function enables you to write the code once, and repeat the action as many times as you specify. This will drastically reduce the lines of code you need to produce, making your work more efficient.