This causes the break statement to be executed, breaking out of the loop.
这导致执行break语句,中断循环。
At this point, the break statement causes program execution to break out of the while loop, skipping the else clause.
此时,break语句导致程序执行中断while循环,跳转到else子句。
One special feature of the break statement is that it breaks completely out of the loop, thereby skipping any else clause that follows the loop.
break语句的一个特殊特性是,它完全中断循环,并跳转到循环下面的任一个else子句。
应用推荐