We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a9a860 commit a7e5edaCopy full SHA for a7e5eda
boolean_algebra/not_gate.py
@@ -21,7 +21,7 @@ def not_gate(input_1: int) -> int:
21
0
22
"""
23
24
- return 1 if input_1 == 0 else 0
+ return int(input_1 == 0)
25
26
27
if __name__ == "__main__":
0 commit comments