Advertisements
Advertisements
Question
“In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.”
Options
True
False
MCQ
True or False
Advertisements
Solution
This Statement is False.
Explanation:
The break statement breaks the loop immediately and exits it. It doesn't always end loops.
shaalaa.com
Handling Exceptions in Python
Is there an error in this question or solution?
