Python/boolean_algebra
Caeden Perelli-Harris daa1c7529a
Raise error not string (#7945)
* ci: Add `B023` to `.flake8` ignores

* refactor: Return `bool`/raise Exception

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* revert: Remove previous branch commit

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* feat: Apply `__repr__` changes

* chore: Fix failing tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update data_structures/binary_tree/segment_tree_other.py

Co-authored-by: Christian Clauss <cclauss@me.com>

* test: Fix doctests

* random.choice(population_score[:N_SELECTED])[0]

* Update basic_string.py

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2022-11-06 15:54:44 +01:00
..
__init__.py Add __init__.py files in all the directories (#2503) 2020-09-28 19:42:36 +02:00
and_gate.py Add function for AND gate (#7593) 2022-10-24 12:13:01 +02:00
nand_gate.py Added Implementation of NAND, OR ,XNOR and NOT gates in python (#7596) 2022-10-25 21:53:21 +02:00
norgate.py Fixed a typo of 'a' and 'an' and used f string in print statement (#7398) 2022-10-19 13:46:56 +02:00
not_gate.py Added Implementation of NAND, OR ,XNOR and NOT gates in python (#7596) 2022-10-25 21:53:21 +02:00
or_gate.py Added Implementation of NAND, OR ,XNOR and NOT gates in python (#7596) 2022-10-25 21:53:21 +02:00
quine_mc_cluskey.py Raise error not string (#7945) 2022-11-06 15:54:44 +01:00
README.md Add README files 1/7 (#5754) 2021-11-04 18:49:36 +08:00
xnor_gate.py Added Implementation of NAND, OR ,XNOR and NOT gates in python (#7596) 2022-10-25 21:53:21 +02:00
xor_gate.py Add function for xor gate (#7588) 2022-10-25 21:26:53 +02:00

Boolean Algebra

Boolean algebra is used to do arithmetic with bits of values True (1) or False (0). There are three basic operations: 'and', 'or' and 'not'.