R

Rati Dubey • 8.55K Points
Tutor III

Q. Which keyword is used to exit from a loop in Python?

  • (A) stop
  • (B) exit
  • (C) break
  • (D) quit
  • Correct Answer - Option(C)
  • Views: 10
  • Filed under category Python

Explanation by: Rati Dubey
The `break` statement is used to terminate a loop prematurely in Python.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics