Break Statement

break: it is used to terminate the loop
Syntax: break;

 Program on break statement

a=1
while a<50:
if a>25:
break
print (a);
a=a+1

 

 

For
More Explanation
&
Online Classes

Contact Us:
+919885348743