No Do while/repeat until looping construct in python?

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Sun Mar 16 20:27:12 EST 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