While trying to calculate a probability of a bounded set like this:
from sympy.stats import Normal, P
from sympy import Interval
n = Normal("n", 0, 1)
P(n in Interval(-1, 1))
I'm getting the following error:
TypeError: did not evaluate to a bool: (-1 <= n) & (n <= 1)
How to deal with that?