Computer Science
In a nested loop, a break statement terminates all the nested loops in one go.
Python Funda
2 Likes
Answer
False
Reason — In nested loops, a break statement will terminate the very loop it appears in.
Answered By
3 Likes
Related Questions
In Python, only if statement has else clause.
Python loops can also have else clause.
Assertion. Assigning a new value to an int variable creates a new variable internally.
Reason. The int type is immutable data type of Python.
Assertion. """A Sample Python String""" is a valid Python String.
Reason. Triple Quotation marks are not valid in Python.