We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2058775 commit 5dc0dc4Copy full SHA for 5dc0dc4
boolean_algebra/norgate.py
@@ -25,7 +25,7 @@ def nor_gate(input_1: int, input_2: int) -> int:
25
>>> nor_gate(0, -7)
26
0
27
"""
28
- return int(bool(input_1 == input_2 == 0))
+ return int(input_1 == input_2 == 0)
29
30
31
def main() -> None:
0 commit comments