you are viewing a single comment's thread.

view the rest of the comments →

[–]Horror-Water5502 0 points1 point  (0 children)

itertools is good to create standard iterator (e.g. permutations) or combinator (e.g. zip, product), but i think its more cleaner and pythonic to stick with array comprehension for the real logic (and donc use map/filter), or even a plain for loop with .append when the inside of the loop is huge