Skip to content

Commit b86ef12

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cc63532 commit b86ef12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: boolean_algebra/multiplexer.py

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# https://www.electrically4u.com/solved-problems-on-multiplexer/
22

3+
34
def mux(input0: int, input1: int, select: int) -> int:
45
"""
56
Implement a 2-to-1 Multiplexer.
@@ -25,6 +26,7 @@ def mux(input0: int, input1: int, select: int) -> int:
2526
else:
2627
raise ValueError("Select signal must be 0 or 1")
2728

29+
2830
if __name__ == "__main__":
2931
import doctest
3032

0 commit comments

Comments
 (0)