break Python का एक Loop Control Statement (लूप नियंत्रण कथन) है। इसका उपयोग किसी for या while loop को तुरंत रोकने (terminate) के लिए किया जाता है।
जब Python को loop के अंदर break statement मिलता है, तो loop वहीं पर समाप्त हो जाता है और loop के बाद लिखा हुआ code execute होने लगता है।
English
The break statement is a Loop Control Statement in Python. It is used to stop or terminate a for or while loop immediately.
When Python encounters a break statement inside a loop, the loop ends immediately, and the program continues with the statement written after the loop.
break statement का उपयोग मुख्य रूप से निम्न situations में किया जाता है: