1.阶乘函数:
输入:
import math
print math.factorial(0)
print math.factorial(1)
print math.factorial(6)
>>>
1
1
7201.阶乘函数:
输入:
import math
print math.factorial(0)
print math.factorial(1)
print math.factorial(6)
>>>
1
1
720
1522
144
1006
297

被折叠的 条评论
为什么被折叠?