difference result sympy binomial function(n,m)

Viewed 58

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?

0 Answers
Related