Python_Break和Countinue
Break and Continue
i = 0
while True:
i += 1
if i <= 100:
continue
print(i)
if i == 105:
break
101
102
103
104
105
Process finished with exit code 0
Break and Continue
i = 0
while True:
i += 1
if i <= 100:
continue
print(i)
if i == 105:
break
101
102
103
104
105
Process finished with exit code 0