https://www.francogarcia.com/en/blog/learn-programming-loops/
Learn Programming: Repetition Structures (Loops) : As a programmer, you can solve a problem once. Then you can instruct the computer to repeat the solution as many times as it is needed. To do this, you should not duplicate code; rather, it is enough to define repetition structures, also called loops. Learn how on this entry. Examples in Python, Lua, GDScript (for Godot Engine), Scratch and Flowgorithm.