sometimes, we need to terminate the iteration or skip an iteration, during the loop we may need check conditions where the loop must take an exit immediately. Break and continue are two important statements in python to change the flow of a loop. In this video, I have explained both the keywords with the help of an example, which demonstrates how both break and to continue operating in a loop and difference between break and continue.
Watch video Break and continue in Python (Python 3) online without registration, duration online in high quality. This video was added by user Stack Equation 08 November 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 76 once and liked it 0 people.