All possibilities mixer?

Alright, here’s one more way to make a list of all combinations, for any number of categories. It takes a recursive approach to calculate the product of thisRow x nextRow and gives you the result in the first row of the table (a list of lists):

At this point it may feel like I’m just flexing — for your specific case it could’ve been done easier. But I want to show a general case solution so that anyone could learn from it.

2 Likes