while True:
do_something()
if some_condition: break
or
while not some_condition:
do_something()
For the second option to be equivalent to the first, some_condition
must start as False
so do_something()
will get called at least once.