An inner loop within the repeating block of an outer loop is called Nested Loop.
The Inner Loop will be executed one time for each iteration of the Outer Loop.
Code
PYTHON
Output
Nested Repeating Block
The one highlighted in the blue dotted line is the repeating block of the inner loop.
Code
PYTHON
In the above example, the below line is the repeating block of the nested loop.
Code
PYTHON
Output
Examples - Nested Loops
Example - 1: While loop inside a For loop
Example - 2: While loop inside a while loop