Changed to a Unix file structure

This commit is contained in:
2023-03-08 08:39:43 +02:00
parent bf424a2436
commit ec70594b6d
35 changed files with 33430 additions and 33430 deletions
+13 -13
View File
@@ -1,13 +1,13 @@
from Source.Pre_Built_Gates.Not import Not
from Source.Pre_Built_Gates.And import And
class Nand:
def __init__(self,a,b) -> None:
self.a=a
self.b=b
self.out=None
self()
def __call__(self) -> None:
out1=And(self.a,self.b)
out2=Not(out1)
self.out=out2.out
from Source.Pre_Built_Gates.Not import Not
from Source.Pre_Built_Gates.And import And
class Nand:
def __init__(self,a,b) -> None:
self.a=a
self.b=b
self.out=None
self()
def __call__(self) -> None:
out1=And(self.a,self.b)
out2=Not(out1)
self.out=out2.out