demo_ref_keyword_break2.py:
i = 1 while i < 9: print(i) if i == 3: break i += 1
➜ begtut>python demo_keyword_break2.py
1
2
3