PYTHON_101 | CONTROL STATEMENTS
SMARS Learning Platform
57% Complete
PYTHON_101 | CONTROL STATEMENTS
Statement | Control Statement & Description |
---|---|
Break | Terminates the loop statement and transfers execution to the statement immediately following the loop. |
Continue | Causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating. |
Pass | The pass statement in Python is used when a statement is required syntactically but you do not want any command or code to execute. |