python interactive while in loop code example Example: Python While Loops i = 1 while i < 6: print(i) if i == 3: break i += 1