Kurien Mathew wrote:
Hello,

Any suggestions on a good python equivalent for the following C code:

while (loopCondition)
{
    if (condition1)
        goto next;
    if (condition2)
        goto next;
    if (condition3)
        goto next;
    stmt1;
    stmt2;
next:
    stmt3;
    stmt4;
 }

such a pity that the goto module

http://mail.python.org/pipermail/python-announce-list/2004-April/002982.html

never got into core python :)
--
Robin Becker

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to