On 2005-02-10, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> Grant Edwards a écrit :
>> On 2005-02-10, BOOGIEMAN <[EMAIL PROTECTED]> wrote:
>> 
>> 
>>>First of all, what's Python command equivalent to QBasic's "goto" ?
>> 
>> 
>> There isn't one.  
>> 
>> One defines functions and calls them. One uses for and while
>> loops.  One uses list comprehensions.  One uses if/elif/else.
>
> and even sometimes break, continue, and return !-)

I forgot to mention try/except.  When I do use goto in C
programming it's almost always to impliment what would have
been a try/except block in Python.

-- 
Grant Edwards                   grante             Yow!  ... the MYSTERIANS
                                  at               are in here with my
                               visi.com            CORDUROY SOAP DISH!!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to