Consider a list of n items = ['a', 'b', 'c', ... n]
Each item can take a boolean state, i.e. True or False. Represented as a list [True, False]
How can I generate a list of lists of all the combinations of states.
For the example of
items = ['a', 'b', 'c']
states = [True, False]
The desired...