Python Programming - Loops - Discussion
Discussion Forum : Loops - General Questions (Q.No. 15)
15.
In Python, what is the purpose of the
else
block in a while
loop?
Answer: Option
Explanation:
The
else
block in a while
loop is executed when the loop condition becomes False.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers