No Do while/repeat until looping construct in python?

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Mon Mar 17 02:21:39 CET 2003


Erik Max Francis wrote:
> I think the main aesthetic
> reason it would be hard to add a
> do...while/repeat...until/whatever...whatever structure is the
> awkwardness of having two blocks as a fundamental part of some
> structure

Er... um...

   if something:
     some stuff
   elif somethingelse:
     some other stuff
   else:
     some other stuff again

What were you saying was a problem, again? :-)

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list