@anonymous/

InsubstantialWelllitCommunication

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
def impl(p,q):
  return not p and q

# Sanity check for IMPL
print(impl(False, False))
print(impl(False, True))
print(impl(True, False))
print(impl(True, False))

bool = [False, True]
for p in bool:
  for q in bool:
    for r in bool:
      result = ( not p and q ) and ( p and r )
      print('{} {} {} => {}'.format(p, q, r, result))