[EMAIL PROTECTED] wrote:
>>You can use i**=2 for i in range(1000) instead
> 
> 
> I don't think one can use assignment in list comprehension or generator
> expression. The limitation is very much like lambda.
> 

i**2
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to