REPEAT... UNTIL ?

Sean 'Shaleh' Perry shalehperry at attbi.com
Wed Jul 3 15:34:47 EDT 2002


> 
> would be exactly the same as:
> 
> """
> while 1:
>   ...
>   ...
>   ...
>   if bexpr: break
> """
> 
> no?
> 

that is basically the python idiom.  The original poster would do well to
search a few archives, this has been discussed at length many times.

Just like the GOTO, or any other syntax from another language they belong to
other languages and not python.  A good coder learns to program in the idioms
of the language they are using.  Or they just write in the same style
everywhere and their perl, C, java, whatever looks like their first language.





More information about the Python-list mailing list