Python Programming - Loops - Discussion

Discussion Forum : Loops - General Questions (Q.No. 4)
4.
Which loop in Python is used for iterating over a sequence until a specified condition is False?
for loop
while loop
do-while loop
if loop
Answer: Option
Explanation:
The while loop continues to execute a block of code as long as the specified condition is True.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.