Informatics Practices
The else block for a loop executes only in the case of normal termination of the loop.
Python Control Flow
2 Likes
Answer
True
Reason — In Python, the else block associated with a for loop is executed when the loop terminates normally, meaning it has iterated over all items or reached its termination condition.
Answered By
1 Like