1: xyz
Python:
print('x y z')
for x in 0,1:
for y in 0,1:
for z in 0,1:
if (not x and z) or (not x and not y and not z):
print(x,y,z)
2: xyz
if (not x and y) or (y and z):
3: yxz
if not y and (x or not z):
1: xyz
Python:
print('x y z')
for x in 0,1:
for y in 0,1:
for z in 0,1:
if (not x and z) or (not x and not y and not z):
print(x,y,z)
2: xyz
Python:
print('x y z')
for x in 0,1:
for y in 0,1:
for z in 0,1:
if (not x and y) or (y and z):
print(x,y,z)
3: yxz
Python:
print('x y z')
for x in 0,1:
for y in 0,1:
for z in 0,1:
if not y and (x or not z):
print(x,y,z)