Which statement is used to terminate a loop immediately in Python?

Options

  • A. continue
  • B. pass
  • C. break
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. break

Detailed Explanation

The break statement immediately terminates the nearest enclosing loop.