Python break statement
Python break articulations, as in C, break the insignificant shut for or while circle.
The break articulation is utilized to end the circle proclamation. That is, if the circle condition has no False condition or the succession has not been totally recursed, the circle proclamation will be halted.
The break articulation is utilized in the while and for circles.
In the event that you use settled circles, the break explanation will quit executing the most profound circle and begin executing the following line of code.
Python language break articulation syntax:
The above model execution results：
Current letter : P Current letter : y Current letter : t Current variable value : 10 Current variable value : 9 Current variable value : 8 Current variable value : 7 Current variable value : 6 Good bye!