On Mon, Jul 13, 2009 at 2:08 PM, Dave Angel wrote:
> Markus Hubig wrote:
>
>> 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
Markus Hubig wrote:
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 st
On Mon, Jul 13, 2009 at 6:50 AM, Markus Hubig wrote:
> 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 py
Markus,
That looks like a typo. remove it and it should work.
On Mon, Jul 13, 2009 at 4:50 AM, Markus Hubig wrote:
> 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
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
--
--