A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/069682.html below:

do...until wisdom needed...

do...until wisdom needed... do...until wisdom needed...deadmeat root at [127.0.0.1]
Mon Apr 16 02:06:31 EDT 2001
> Here is my question--  If Python WERE to have a "do...until" construct,
what
> would be the best way to implement the syntactical rules?

until a == b:
    some
    thing

ie. the same as while, except until guarantees at least a single recursion.
this would mean very little change to Python to implement, just a minor
modification on the while handler.

it's not as clear as do (code) until but I don't like ending code blocks
with with control structures... esp. not in Python.





More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4