Python – N series of integers, each of different size, get all combination I have something like this: