remove useless bool() call (#7189)

This commit is contained in:
Lukas Esc
2022-10-15 00:37:15 +02:00
committed by GitHub
parent 2058775005
commit 5dc0dc4d23
+1 -1
View File
@@ -25,7 +25,7 @@ def nor_gate(input_1: int, input_2: int) -> int:
>>> nor_gate(0, -7)
0
"""
return int(bool(input_1 == input_2 == 0))
return int(input_1 == input_2 == 0)
def main() -> None: