- continue
for in loop skipping parts using continue
examples/loops/for_continue.py
txt = 'hello world' for ch in txt: if ch == ' ': continue print(ch) print("done")
h e l l o w o r l d done
txt = 'hello world' for ch in txt: if ch == ' ': continue print(ch) print("done")
h e l l o w o r l d done