Op 19-06-13 18:14, russ.po...@gmail.com schreef:
>
>>>> all(map(lambda x: bool(x), xrange(10**9)))

Since you already have your answer, I just like to get your attention
to the fact the the lambda is superfluous here. Your expression
above is equivallent to

  all(map(bool, xrange(10**9)))


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

Reply via email to