Day19- Break and Continuous Statement
break statement
Break Statement:
The break statement enables a program to skip over a part of the code. A break statement terminates the very loop it lies within.
Example :
for i in range(12):
if(i == 10): #print table of 5 till 10
break
...
codingsplash.hashnode.dev2 min read