Advertisement
LilChicha174

Untitled

Mar 24th, 2022
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. # (z ∧ y) ∨ ((x → z ) ≡ (y → w))
  2. print("x y z w")
  3. for x in range(2):
  4.     for y in range(2):
  5.         for z in range(2):
  6.             for w in range(2):
  7.                 f = (z and y) or ((not x or z) == (not y or w)) # 1 0
  8.                 if f==0:
  9.                     print(x,y,z,w)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement