In Python the break statement is used to exit a for or a while loop and the continue statement is used in a while or for ...
www.w3resource.com