I have a list with items with a variable length and I’m trying to get sublists with every possible combination of items within it. The important thing here is, that the sublist have to have a fixed length of 3 indices. So I need all possible combinations of those 3.
How can I get this working?
Thanks for the help in advance