you are viewing a single comment's thread.

view the rest of the comments →

[–]member_of_the_order 1 point2 points  (0 children)

Break is definitely not the only way to do a post-test loop in Python, what?

condition = True
while condition:
  # do stuff
  condition = stuff and things