Wildemar Wildenburger wrote:
>> for f in a:
>>      print f()
>> 0
>> 1
>> 4
>> 9
>>
>> How to achieve this?
>>
>> Thanks a lot!
>>
>>   
>>     
> I fail to see the point, sorry. Why would you want that? If you simply 
> want a list of values you do:
>
>   
>>>> a = [i**2 for i in range(4)]
>>>>         
>
> Can you elaborarate on what it is you really want.
>
> /W
>   

Sorry, I'm an idiot. Nevermind. :-/

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

Reply via email to