A goto-like usage of a function

Terry Reedy tjreedy at udel.edu
Thu Jul 29 22:33:21 EDT 2004


"Christopher T King" <squirrel at WPI.EDU> wrote in message
news:Pine.LNX.4.44.0407291159020.17164-100000 at ccc3.wpi.edu...
> your code.  Not so in Python though -- a while loop is the one true way
to
> go (as recently prounounced by Guido ;)).

Actually, Python's for loops are usually the way to go ;-)
(tho not in the OP's case as presented)

Terry J. Reedy






More information about the Python-list mailing list