How do I find combos of a list of lists of lists? Here is an example below.
My list of lists of lists (where the 1st sublist can contain a single list or multiple lists):
[[5,6],[[2,4],[5,7]],[1,8],[[-1,-2],[1,0]]]
This what I want to get:
[5,6],[2,4],[1,8],[-1,-2]
[5,6],[2,4],[1,8],[1,0]
[5,6],[5,7],[1,8],[-1,-2]
[5,6],[5,7],[1,8],[1,0]
Basically looking for the combos for that 2nd level list. I believe it's possible using the itertools
lib but unsure how to use it.