kokozeng/DataStructure

break continue

kokozeng opened this issue · 0 comments

Python continue 语句跳出本次循环,而break跳出整个循环。

continue 语句用来告诉Python跳过当前循环的剩余语句,然后继续进行下一轮循环。

continue语句用在while和for循环中.