[Tutor] for statement with addition ...

Markus Hubig mhubig at gmail.com
Mon Jul 13 12:50:20 CEST 2009

Hi @all,

within diveintopython I often found a for-statement like this:

f for f in bla:
    print f

So what actually is the first f for ... is it just to declare f before
starting the for loop? I can't find any information on python.org
and it's hard to google this kinda stuff.

- Markus

-------------------"it's like this"------
even samurai have teddy bears
and even teddy bears get drunk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090713/f13e8e61/attachment.htm>

More information about the Tutor mailing list