continue什么意思
时间: 2023-09-14 15:08:26 浏览: 142
引用\[1\]中解释了continue的含义。在编程中,continue是一个控制流语句,用于跳过当前循环中的剩余代码,并开始下一次循环。它的作用是在不终止整个循环的情况下,跳过当前迭代并继续执行下一次迭代。与break语句不同,continue只是跳过当前迭代,而不会终止整个循环。\[1\]所述的程度轻重是指在控制流中的作用程度,其中continue的程度最轻,只是小小的打断一下当前迭代,而不会终止整个循环。
#### 引用[.reference_title]
- *1* [continue、break和return的区别](https://blog.csdn.net/weixin_41692437/article/details/122812847)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [php switch continue 什么意思??](https://blog.csdn.net/weixin_36033516/article/details/116246654)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Python基础:continue语句知识详解](https://blog.csdn.net/u010292470/article/details/121003367)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文