Ref math factorial:修订历史

本页内容
上一节: Ref_math_fabs 下一节: Ref_math_floor

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 21:512022年8月17日 (三) 21:51Neo 讨论 贡献 1,095字节 +1,095 创建页面,内容为“{{DISPLAYTITLE:math.factorial(x)}}25 = Python math.factorial() 方法 = Python math 模块 Python '''math.factorial(x)''' 方法返回 x 的阶乘。 参数只能是正整数。 一个数字的阶乘是所有整数的乘积之和,例如,6 的阶乘是: 6 x 5 x 4 x 3 x 2 x 1 = 720。 === 语法 === math.factorial() 方法语法如下: <sample title="" desc="" lang="python" hererun="1"> math.factorial(x) </s…”
上一节: Ref_math_fabs 下一节: Ref_math_floor