From a386c05b32f8661a16bc356138d19fea364f3563 Mon Sep 17 00:00:00 2001 From: Hafsa Anwar Date: Thu, 1 Oct 2026 16:02:08 +0500 Subject: [PATCH] Update documentation and fix truth table for NOT gate --- boolean_algebra/not_gate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boolean_algebra/not_gate.py b/boolean_algebra/not_gate.py index cfa74cf42204..d6cdc65ab7bc 100644 --- a/boolean_algebra/not_gate.py +++ b/boolean_algebra/not_gate.py @@ -1,7 +1,7 @@ """ A NOT Gate is a logic gate in boolean algebra which results to 0 (False) if the input is high, and 1 (True) if the input is low. -Following is the truth table of a XOR Gate: +Following is the truth table of a NOR Gate: ------------------------------ | Input | Output | ------------------------------