A

Admin • 832.27K Points
Coach

Q. Which of the following statements is used to exit a loop in Python?

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

Explanation by: Admin

The `break` statement is used to exit a loop prematurely.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.