Advertisement
zhukov000

02

Jun 24th, 2021
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. from  itertools import product
  2.  
  3. print("a b c d")
  4. for t in product((0,1), repeat=4):
  5.   a,b,c,d = t
  6.   F = ((not(a)) and (not(b))) or (b == c) or d
  7.   if not(F):
  8.     print(a,b,c,d)
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement