Python Programming - Conditional Statements - Discussion

Discussion Forum : Conditional Statements - General Questions (Q.No. 12)
12.
What does the continue statement do in a loop?
Exits the loop
Skips the remaining code in the loop and moves to the next iteration
Repeats the loop indefinitely
Skips the remaining code and exits the loop
Answer: Option
Explanation:
The continue statement is used to skip the remaining code in the current iteration of a loop and move on to the next iteration.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.