Skip to main content

All Questions

1 vote
4 answers
1k views

using python itertools to manage nested for loops

I am trying to use itertools.product to manage the bookkeeping of some nested for loops, where the number of nested loops is not known in advance. Below is a specific example where I have chosen two ...
aph's user avatar
  • 1,865