0

I am trying to build a list containing dictionaries of all permutations of binary inputs values for n variables
eg.for n=3, the list should look like ->
d=[{'a':0,'b':0,'c':0},
{'a':0,'b':0,'c':1},
{'a':0,'b':1,'c':0},
{'a':0,'b':1,'c':1},
{'a':1,'b':0,'c':0},
{'a':1,'b':0,'c':1...