Important Notice:

Loop Control Statements

Loop Control Statements

24 views 1 min read

Loop Control Statements in Python:-

Loop Control Statements का उपयोग Python में loop के सामान्य execution flow को नियंत्रित करने के लिए किया जाता है। इनके द्वारा हम loop को रोक सकते हैं, किसी iteration को छोड़ सकते हैं, किसी statement को temporarily खाली रख सकते हैं या loop के सामान्य रूप से समाप्त होने पर कोई विशेष block execute कर सकते हैं।

English:
Loop Control Statements are used to change or control the normal flow of execution of a loop in Python. They allow us to stop a loop, skip an iteration, do nothing temporarily, or execute a block when a loop completes normally.

Main Loop Control Statements  (Python में मुख्य Loop Control Statements हैं) :-

  1. break
  2. continue
  3. pass
  4. else with loop
  5. assert

 

Related Notes