No Do while/repeat until looping construct in python?
cbrown at metservice.com
Thu Mar 13 01:25:31 CET 2003
> Why is there no do-while looping construct in Python?
> It seems to me that such a feature is very useful. Consider the
> following pseduocode:
> while i<j:
Others have explained the Python way to do this, fine.
I think this points out deficiencies of the documentation.
The repeat .. until construct is familiar to those of us that have come
from other languages and it would not hurt for the docs to show the
standard Python idiom. Also, it would be helpful for the docs to come
with built-in search capability.
More information about the Python-list