Result Size: 625 x 571
demo_while_break.py:
x
 
i = 1
while i < 6:
  print(i)
  if (i == 3):
    break
  i += 1
C:\Users\My Name>python demo_while_break.py
1
2
3