首页 > 解决方案 > 继续两个嵌套循环?

问题描述

你怎么能continue在Python中的父循环以及两个嵌套循环的嵌套循环?

for a in b:
    for c in d:
        if somecondition:
               <continue the for a in b loop as well as the c in d>


标签: pythonpython-3.xloopsfor-loopnested

解决方案


推荐阅读