Skip to content

New version with english comments #12762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
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
Expand Up @@ -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

View workflow job for this annotation

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

View workflow job for this annotation

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
"""
Expand Down
Loading