In python loop control statements means(CSM) that CSM is change execution from its normal sequence and When execution leaves a scope, all automatic objects that were created in that scope are destroyed.
python support three statements of loop control statements, shown given below
1- break statements: break statements is the statement that terminates the loop statement and transfers execution to the statement immediately.
2- continue statement: continue statement is the statement that Causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating in continue statement.
3- pass statement: pass statement means that he pass statement in Python. It is used when a statement is required syntactically but you can not code to execute in pass statement.
0 Comment(s)