我想知道是否有一种快速的Pythonic方法来计算非整数的阶乘(例如,3.4)?当然,模块中的bult-in factorial()功能Math是可用的,但它只适用于积分(我不关心负数).
factorial()
Math
python floating-point factorial
factorial ×1
floating-point ×1
python ×1