diff options
author | Anthony Wang | 2022-10-14 12:41:42 -0400 |
---|---|---|
committer | Anthony Wang | 2022-10-14 12:41:42 -0400 |
commit | aed3c9a5476a569ff3bd4e99ec3450dfebfd9849 (patch) | |
tree | 2b7c4ed7e34c6505adb8538eaecd6e6f30806bea | |
parent | f0a38e712f0c92ac2930a1091bf014756a43e0fd (diff) |
Implement NAND
-rwxr-xr-x | flipper.py | 2 | ||||
-rw-r--r-- | nand.f | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -14,8 +14,6 @@ def flip(x, y): with open(argv[1]) as f: for line in f.readlines(): l = list(map(int, line.split())) - if len(l) < 2: - continue x = l[0] for i in range(1, len(l)): x = flip(x, l[i]) @@ -0,0 +1,4 @@ +0 0 +0 0 2 +0 2 1 3 +0 3 |