Yaser Rahmati | آکادمی رحمتی
Last updated 8 months ago
This gate provides the negation of the input given. This gate supports only a single input.
The above table clearly displays the reversal of bits.
# Function to simulate NOT Gate def NOT(A): return int(not A) print("Output of NOT 0 is", NOT(0)) print("Output of NOT 1 is", NOT(1))