84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
h = ['hp','op'] for x in ['POP','PHP','PYTHON']: for y in h: if y in x: continue #如果这个跳出循环 ,下一句就不会print print x
My understanding is to jump directly out of the outermost for loop, but why is it not like this?
小伙看你根骨奇佳,潜力无限,来学PHP伐。
continue only jump out of the nearest (or innermost) loop , that is, the inner for.
continue
for
continue
only jump out of the nearest (or innermost) loop , that is, the innerfor
.