human
get all combination of n binary value
assistant
Here is some code to get all combination of 3 binary values

bin = [0, 1]
[(x, y, z) for x in bin for y in bin for z in bin]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.