count = 0
while True
if count == 5:
break
if count == 2:
count += 1
continue
print(count)
count += 1
実行結果
0
1
3
4
if count == 2:
count += 1
continue
continueで
print(count)
count += 1
をとばして
while内の1行目
if count == 5:
に行く。