2
Объяснение:
print('x1 x2 x3 x4 x5 x6')
for x1 in 0,1:
for x2 in 0,1:
for x3 in 0,1:
for x4 in 0,1:
for x5 in 0,1:
for x6 in 0,1:
if not(x1 or x2) and not(x2 and x3)and not(x4 or not x5) and (x5 ^ x6) and not(x1 and x4):
print(x1,x2,x3,x4,x5,x6)
2
Объяснение:
print('x1 x2 x3 x4 x5 x6')
for x1 in 0,1:
for x2 in 0,1:
for x3 in 0,1:
for x4 in 0,1:
for x5 in 0,1:
for x6 in 0,1:
if not(x1 or x2) and not(x2 and x3)and not(x4 or not x5) and (x5 ^ x6) and not(x1 and x4):
print(x1,x2,x3,x4,x5,x6)