repl.it
@FellowHashbrown/

Quine-McCluskey Python

Python

FellowHashbrown's adaptation of the Quine-McCluskey Algorithm written in Python

fork
loading
Files
  • main.py
  • quine_mccluskey.py
main.py
1
2
3
4
5
6
from quine_mccluskey import QM

values = [0, 4, 5, 7, 8, 11, 12, 15]
variables = ["a", "b" ,"c", "d"]

print(QM(variables, values).get_function())
?