Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

propositional logic python

>>> from sympy import *
>>> x, y = symbols('x,y')
>>> y | (x & y)
y | (x & y)
>>> x | y
x | y
>>> ~x
~x
Source by docs.sympy.org #
 
PREVIOUS NEXT
Tagged: #propositional #logic #python
ADD COMMENT
Topic
Name
2+3 =