kokozeng / DataStructure

数据结构与算法的学习 base python/c++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

break continue

kokozeng opened this issue · comments

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

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

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