why no "do : until"?

D-Man dsh8290 at rit.edu
Mon Jan 1 23:12:48 EST 2001


Yeah, my word choice wasn't the best.  How about this instead:

dountil x > 25 :
        ...

or

dowhile x <= 25 : 
        ...

This is really what I meant, and the semantics would be to execute the
loop once then test the condition.

Pick your favorite word or word combination for it.

:-)

-D


On Tue, Jan 02, 2001 at 03:45:41AM +0000, Greg Jorgensen wrote:
> "D-Man" <dsh8290 at rit.edu> wrote:
> 
<snip>
> That's equivalent to the while loop.
<snip>




More information about the Python-list mailing list