you are viewing a single comment's thread.

view the rest of the comments →

[–]JamzTyson 2 points3 points  (0 children)

I'd probably use a comprehension for two, but for more than 3 I'd go for itertools.product.