do/while structure needed

John Salerno johnjsal at NOSPAMgmail.com
Tue May 16 16:31:00 CEST 2006


Dennis Lee Bieber wrote:

> 	And what syntax would you propose? 

I guess something like:


do:
     stuff goes here
     and here
     and here
while (condition)


The absence of a colon after the while statement can be the signal that 
it isn't a regular while statement with a following block, but instead 
the final statement of a do/while loop. Or would that cause an issue?



More information about the Python-list mailing list