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/066946.html below:

do...until wisdom needed...

do...until wisdom needed... do...until wisdom needed...Andrew Henshaw andrew_dot_henshaw_at_earthling_dot_net
Mon Apr 16 22:43:10 EDT 2001
I have difficulties with all the proposals that have been given in the past
for a suitable 'until' syntax.  However, I have advocated that 'do' as an
alias for 'while 1', would be cleaner, more elegant, and simpler to grasp
for new programmers (e.g., children).

Therefore, in a half-attempt to answer your question, I believe that most
Pythonic implementation of do-until would be:

do:
    some code
    if condition:
        break


Andrew Henshaw



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