The continue and break python

continue: means the end of the current cycle, the next cycle start

break: an end to all cycling

= S 0
 the while S <. 3 : 
    S + =. 1    
     Print (S)
     Continue # '@' 
    Print (ABC)
 Print ( ' End ' ) 

# @ is at Continue: 
. 1 
2 
. 3 
End 

# @ is the BREAK: 
. 1 
End

 

Guess you like

Origin www.cnblogs.com/qyan-blog/p/11640974.html