You just need to import the main function and pass on minterms and number of variables.
from HW2_2018363 import minFunc
print(minFunc('0,1 d 2',2))
That will do the work ;)
This code is not general. It might fail on some cases :(
K map solver up to 4 variables, built using python
You just need to import the main function and pass on minterms and number of variables.
from HW2_2018363 import minFunc
print(minFunc('0,1 d 2',2))
That will do the work ;)
This code is not general. It might fail on some cases :(
K map solver up to 4 variables, built using python