Python————12、continue語句

Python continue語句 Python continue 語句跳出本次循環,而break跳出整個循環。 continue 語句用來告訴Python跳過當前循環的剩餘語句,然後繼續進行下一輪循環。 continue語句用在while和for循環中。 Python 語言 continue 語句語法格式如下: 流程圖: 實例: 以上實例執行結果:
相關文章
相關標籤/搜索