
from __future__ import print_function
from BinPy.algorithms.makebooleanfunction import *


# In[2]:

# Usage of make_boolean() function
logical_expression, gate_form = make_boolean(['A', 'B', 'C'], [1, 4, 7], minterms=True)


# In[3]:

# Print the logical function
print(logical_expression)


# In[4]:

# Print the gate form
print(gate_form)


# In[5]:

# Another example
logical_expression, gate_form = make_boolean(['A', 'B', 'C', 'D'], [1, 4, 7, 0], maxterms=True)


# In[6]:

# Print the logical function
print(logical_expression)


# In[7]:

# Print the gate form
print(gate_form)



from __future__ import print_function
from BinPy.algorithms.makebooleanfunction import *

# <codecell>

# Usage of make_boolean() function
logical_expression, gate_form = make_boolean(['A', 'B', 'C'], [1, 4, 7], minterms=True)

# <codecell>

# Print the logical function
print(logical_expression)

# <codecell>

# Print the gate form
print(gate_form)

# <codecell>

# Another example
logical_expression, gate_form = make_boolean(['A', 'B', 'C', 'D'], [1, 4, 7, 0], maxterms=True)

# <codecell>

# Print the logical function
print(logical_expression)

# <codecell>

# Print the gate form
print(gate_form)


Update python sources for algorithms
Update python sources for algorithms

  
  from __future__ import print_function
  from BinPy.algorithms.makebooleanfunction import *
  
+ # <codecell>
- 
- # In[2]:
  
  # Usage of make_boolean() function
  logical_expression, gate_form = make_boolean(['A', 'B', 'C'], [1, 4, 7], minterms=True)
  
+ # <codecell>
- 
- # In[3]:
  
  # Print the logical function
  print(logical_expression)
  
+ # <codecell>
  
- # In[4]:
+ # Print the gate form
+ print(gate_form)
+ 
+ # <codecell>
+ 
+ # Another example
+ logical_expression, gate_form = make_boolean(['A', 'B', 'C', 'D'], [1, 4, 7, 0], maxterms=True)
+ 
+ # <codecell>
+ 
+ # Print the logical function
+ print(logical_expression)
+ 
+ # <codecell>
  
  # Print the gate form
  print(gate_form)
  
  
- # In[5]:
- 
- # Another example
- logical_expression, gate_form = make_boolean(['A', 'B', 'C', 'D'], [1, 4, 7, 0], maxterms=True)
- 
- 
- # In[6]:
- 
- # Print the logical function
- print(logical_expression)
- 
- 
- # In[7]:
- 
- # Print the gate form
- print(gate_form)
- 
- 
Update python sources for algorithms
## Code Before:

from __future__ import print_function
from BinPy.algorithms.makebooleanfunction import *


# In[2]:

# Usage of make_boolean() function
logical_expression, gate_form = make_boolean(['A', 'B', 'C'], [1, 4, 7], minterms=True)


# In[3]:

# Print the logical function
print(logical_expression)


# In[4]:

# Print the gate form
print(gate_form)


# In[5]:

# Another example
logical_expression, gate_form = make_boolean(['A', 'B', 'C', 'D'], [1, 4, 7, 0], maxterms=True)


# In[6]:

# Print the logical function
print(logical_expression)


# In[7]:

# Print the gate form
print(gate_form)


## Instruction:
Update python sources for algorithms
## Code After:

from __future__ import print_function
from BinPy.algorithms.makebooleanfunction import *

# <codecell>

# Usage of make_boolean() function
logical_expression, gate_form = make_boolean(['A', 'B', 'C'], [1, 4, 7], minterms=True)

# <codecell>

# Print the logical function
print(logical_expression)

# <codecell>

# Print the gate form
print(gate_form)

# <codecell>

# Another example
logical_expression, gate_form = make_boolean(['A', 'B', 'C', 'D'], [1, 4, 7, 0], maxterms=True)

# <codecell>

# Print the logical function
print(logical_expression)

# <codecell>

# Print the gate form
print(gate_form)

