Loop Control statements in Python : break, continue, pass
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...
debasmita-a.hashnode.dev1 min read