[Python-ideas] A suggestion for a do...while loop

Ethan Furman ethan at stoneleaf.us
Mon Jun 26 16:30:07 EDT 2017


On 06/26/2017 01:20 PM, Mikhail V wrote:

> I dont't like "while True:"  simply because it does not make enough
> visual distinction with the "while condition:" statement.

My "while True:" loops look something like:

   while "<meaningful text description here>":

--
~Ethan~


More information about the Python-ideas mailing list