Iterables and Iterators

  • + 1 comment

    Please, can anybody answer me, why itertools.combinations() is fine, but interpreter cannot recognize itertools.ifilter()? I see that using sum with a list comprihension is easier, I used built in filter() with success, though.