The loop runs indefinitely.
The loop executes once before terminating.
The loop does not execute.
It raises an error
It will raise an IndexError.
It will iterate once with a default value of None.
It will not execute the loop body.
It will run indefinitely.
To execute when the loop is terminated using break.
To execute after the loop completes without encountering a break.
To restart the loop.
To execute before the loop starts
The outer loop must run fewer times than the inner loop.
Only for loops can be nested.
Both for and while loops can be nested.
The inner loop runs only once for each iteration of the outer loop.
while loop
for loop
do while loop
all of these
if
if-else
elif
if-else-if
a=2,b=3,c=4
a,b,c=2,3,4
a=2;b=3;c=4
Both b and c
Only One
1-10
Any number of Times
Any number of times but one inside another only.