Given lists of length M and N, how to get a list of length M*N with all possible pairs
1058
Get the cartesian product of a series of lists?
75223
Generate all possible permutations (or n-tuples)
105055
How can I find all of the permutations consisting of 1 element from a variable number of arrays of variable length?
111767
Creating lists of lists in a pythonic way
111379
Creating all possible k combinations of n items in C++
135743
Collection of subset generating every pairs of elements
84910
Generate some number of lists of pairs given a list of people
271
How to get all possible combinations of a list’s elements?
45448
Minimum number of $k$-partitions of a set of size $n$ to enumerate all $n \choose k$ combinations
22673
Splitting a list into N parts of approximately equal length
33873
Get all the combinations of N elements of multidimensional array
125632
Python: fastest way to create a list of n lists
121408
Interleave multiple lists of the same length in Python
72561
Joining pairs of elements of a list
84882
How can I create lists from a list of strings?
94697
Grouping the first two elements in a list of ordered triples
155831
What are the total number of ordered permutations of a list of elements (possibly repeated)?