Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update and_gate.py
Commentaires en anglais
  • Loading branch information
robohie authored May 9, 2025
commit 7072b86b42493909590a88989fa3cb8ca773bc8f
6 changes: 2 additions & 4 deletions boolean_algebra/and_gate.py
Original file line number Diff line number Diff line change
@@ -34,10 +34,8 @@

def n_and_gate(inputs: tuple) -> int:
"""
Calcul le And de la liste des nombres
binaires fournie. Nécessaire pour
implémenter une porte And à n entrées
Par exemple
Calculate AND of a list of input values

Check failure on line 38 in boolean_algebra/and_gate.py

GitHub Actions / ruff

Ruff (W293)

boolean_algebra/and_gate.py:38:1: W293 Blank line contains whitespace

Check failure on line 38 in boolean_algebra/and_gate.py

GitHub Actions / ruff

Ruff (W293)

boolean_algebra/and_gate.py:38:1: W293 Blank line contains whitespace
>>> n_and_gate((1, 0, 1, 1, 0))
0
"""
Loading
Oops, something went wrong.