Answers for "when we use break statement in doubled loop and we have used it in inner loop then what exactly happens"

3

does break stop all loops

Using break in a nested loop

In a nested loop, a break statement only stops the loop it is placed in.
Therefore, if a break is placed in the inner loop, the outer loop still
continues. However, if the break is placed in the outer loop, all of the 
looping stops.
Posted by: Guest on November-24-2020

Code answers related to "when we use break statement in doubled loop and we have used it in inner loop then what exactly happens"

Python Answers by Framework

Browse Popular Code Answers by Language