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

do...until wisdom needed...

do...until wisdom needed... do...until wisdom needed...Remco Gerlich scarblac at pino.selwerd.nl
Mon Apr 16 13:02:48 EDT 2001
Benjamin.Altman <benjamin.altman at noaa.gov> wrote in comp.lang.python:
> Any answer does not seem ideal in Python, but what about an indent concluded with an
> "until" like:
> 
>         # do some stuff
>         # do some more stuff
>     until condition == true

So how would you put that after another block?

while cond():
   #bla
   #bla
   #bla
   
   #do some stuff
until cond2()

That doesn't work. You need a proper non-indented block start.

Besides, it's ugly :).

-- 
Remco Gerlich

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