Python Programming Masterclass 15 - The Break, Continue and Pass Statements

preview_player
Показать описание
Python Programming Masterclass 15 - The Break, Continue and Pass Statements

The break statement terminates the loop containing it. Control of the program flows to the statement immediately after the body of the loop.

The continue statement is used to skip the rest of the code inside a loop for the current iteration only. Loop does not terminate but continues on with the next iteration.

The pass statement in Python is used when a statement is required syntactically but you do not want any command or code to execute
Рекомендации по теме
join shbcf.ru