Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 12)
12.
In a while loop, what will happen if the loop condition is initially False?
The loop will run indefinitely.
The loop will never execute.
The loop will execute once.
An error will occur.
Answer: Option
Explanation:
If the loop condition is initially False in a while loop, the loop will never execute.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.