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...
Markdown supported · ⌘↵ to post
No responses yet.