Computer Science
Python loops can also have else clause.
Python Funda
1 Like
Answer
True
Reason — Loops in Python can have else clause.
Answered By
1 Like
Related Questions
In Python, a variable is a placeholder for data.
In Python, only if statement has else clause.
In a nested loop, a break statement terminates all the nested loops in one go.
Assertion. Assigning a new value to an int variable creates a new variable internally.
Reason. The int type is immutable data type of Python.