Loop Control statements in Python : break, continue, pass
Aug 22, 2024 · 1 min read · In Python, we have 3 loop control statements : break, continue and pass. break When the condition satisfies, the loop breaks and comes out of the loop. for i in range(10): print(i) if i == 5: break # It will print : 0 to 5 and once t...
Join discussion