[BangPypers] List compression imrpovement

Noufal Ibrahim noufal at nibrahim.net.in
Wed Jan 9 09:21:22 CET 2013


Jeffrey Jose <jeffjosejeff at gmail.com> writes:

> On Wed, Jan 9, 2013 at 1:43 PM, Anand Chitipothu <anandology at gmail.com>wrote:
>
>> [[x for x in a if x%i == 0] for i in [2, 3]]
>
>
> oh thats smart.

Yup. Very. 

[...]


-- 
Cordially,
Noufal
http://nibrahim.net.in


More information about the BangPypers mailing list