发布于 1年前

Python 如何实现阶乘

import math

fact_5 = math.factorial(5)
print(fact_5)
# 120
©2020 edoou.com   京ICP备16001874号-3