python 递归——阶乘

来源:互联网 发布:csi网络第二季百度云 编辑:程序博客网 时间:2024/05/01 18:25
def factorial(n):if n==1:return nelse:return n*factorial(n-1)


原创粉丝点击