dxnge

3

Oct 11th, 2021
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. from itertools import product
  2. def f(x,y,w,z):
  3.     return (x and z) or ((w<=x) == (z<=y))
  4.  
  5. a = product([0,1], repeat=4)
  6. for x,y,w,z in a:
  7.     if not f(x, y, w, z):
  8.         print(x,y,w,z,0)
Advertisement
Add Comment
Please, Sign In to add comment