In many practical problems, there are many regular repetitive operations, soit is necessary to repeat some statements in the program.
The following is a flowchart of looping programs in most programming languages:

Go
language provides the following types of loop processing statements:
Cycle type | Description |
|---|---|
Break statement | Repetitive execution statement block |
Continue statement | Nesting one or more for loops within for loops Loop control statements can control the execution of statements in the loop. |