What is the break statement used for

Home Forums Python Course Forum Controls and Loops What is the break statement used for

Viewing 0 reply threads
  • Author
    Posts
    • H2k Infosys
      Keymaster
      (124.123.164.108)

      The break statement is used to stop a loop when some defined condition is met. It terminates the current loop and resumes execution at the next statement after the loop.

      #18469

Viewing 0 reply threads
  • You must be logged in to reply to this topic.