On 02/23/2013 03:46 PM, piterrr.dolin...@gmail.com wrote:
Hi all,

<snip>
... I have discovered today there is no do...while type loop. [Sigh]

No biggie.  This is easily simulated with:

while True:
    ...
    if <exit condition>:
        break

Less easily simulated is the lack of a switch/case structure. This has to be done with a less convenient extended if/elif/.../else structure.

Peter


     -=- Larry -=-

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

Reply via email to