Which statement is used to terminate the current loop iteration in Python?
Correct answer
B. continue
17 views
B. continue
17 views
The 'continue' statement in Python is used to skip the remaining code inside a loop for the current iteration and proceed to the next iteration. It is useful for skipping specific iterations based on certain conditions.
Not sure why the answer is B? Ask here and get an explanation.