主页
Python
Python math.lgamma() 方法
demo_ref_math_lgamma
运行 ❯
×
更改方向
保存代码
更改主题
# Import math Library import math # Return the log gamma value of different numbers print (math.lgamma(7)) print (math.lgamma(-4.2))
6.579251212010102
-1.8075166614192908