1. Home
  2. Data Science
  3. Python
  4. Which statement is used to terminate the current loop…

Added 10 Feb 2024

Which statement is used to terminate the current loop iteration in Python?

  1. break
  2. continue Correct answer
  3. return
  4. pass

Correct answer

B. continue

17 views

MCQSEXAM

Explanation

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.

Reference

https://www.w3schools.com/python/default.asp

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs