nand gate basis code example
Example: nor nand gate
nor = not OR ( opposite of OR gate result , 1 will be 0 ) 1+1 = 0
nand = not AND ( opposite of AND gate result , 1 will be 0 ) 1*1= 0
EXOR gate
# follow the source- link below this answer to get any answer of Logic gate