No Do while/repeat until looping construct in python?

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


Steven Taschuk wrote:
> But they're not equivalent, logical massage or no.
> 	while not clean
> 		rinse
> 		lather
> doesn't rinse and lather if already clean, while
> 	repeat
> 		rinse
> 		lather
> 	until clean
> rinses and lathers at least once in all cases.

And both of them leave my clothes lathered at
the end of the process. :-(

Glad-you're-not-programming-MY-washing-machine-ly,

-- 
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