from scipy.special import factorial2 print(factorial2(-1))
In the documentation it says that the above code should return 0, but for me it returns +