Python Tutorial for Beginners | #4.10 Break and Continue Statement in Python

Аватар автора
Кодовая Конструкция
Python Tutorial For Beginners Python Tutorial for Beginners Complete Playlist : In this video which is part of series of "Python Tutorial for Beginners" , you&learn break and continue statement in Python In Python, break and continue statements can alter the flow of a normal loop. Loops iterate over a block of code until the test expression is false, but sometimes we wish to terminate the current iteration or even the whole loop without checking test expression. Python break statement The break statement terminates the loop containing it. Control of the program flows to the statement immediately after the body of the loop. If the break statement is inside a nested loop (loop inside another loop), the break statement will terminate the innermost loop. Python continue statement 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. Follow along with the videos and you will become a python programmer in less time and you will entered into Python world. View this Python tutorial for beginners to learn Python programming from zero. Every topic explained in detail to make this best Python tutorial for beginners. Check out our websites:

0/0


0/0

0/0

0/0