Loop until condition is true
Joseph Garvin
k04jg02 at kzoo.edu
Sat Jun 18 20:57:12 EDT 2005
More information about the Python-list mailing list
Sat Jun 18 20:57:12 EDT 2005
- Previous message (by thread): Loop until condition is true
- Next message (by thread): Loop until condition is true
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Peter Otten wrote:
>I found 136 occurrences of "do {" versus 754 of "while (" and 1224 of "for
>(" in the Python 2.4 source, so using these rough estimates do-while still
>qualifies as "rarely used".
>
>Peter
>
>
>
That's 136 times you'd have to use an ugly hack instead. I definitely
wouldn't mind an until or do/while.
- Previous message (by thread): Loop until condition is true
- Next message (by thread): Loop until condition is true
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list