Let there be the following program
from sympy import *
n,m=symbols('n m')
print(binomial(n,m).subs([(m,0),(n,-1)]))
print(binomial(n,m).subs([(n,-1),(m,0)]))
result:
1
zoo
Why is the result different?
Let there be the following program
from sympy import *
n,m=symbols('n m')
print(binomial(n,m).subs([(m,0),(n,-1)]))
print(binomial(n,m).subs([(n,-1),(m,0)]))
result:
1
zoo
Why is the result different?