练习1--python代码实现阶乘
python新手代码练习
a =int(input("enter number"))
def multple(a):
total =1
for i in range(1,a+1):
total *= i
return total
print(multple(a))

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。