Python Programming - Loops - Discussion
Discussion Forum : Loops - General Questions (Q.No. 23)
23.
Which of the following is the correct syntax to define an infinite loop?
Answer: Option
Explanation:
while True:
creates an infinite loop, as the condition is always true.
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