No Do while/repeat until looping construct in python?

Greg Ewing (using me at
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. :-(


Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list