摘要:
# 递归函数 计算 6!= 6*5*4*3*2*1 def fun(n): if n==1: return n else: res=n*fun(n-1) #递归行数 return res print(fun(6)) E:\PycharmProjects\pythonProject\venv\Scri 阅读全文
posted @ 2022-09-06 21:33
蓝绝
阅读(27)
评论(0)
推荐(0)
2022年9月6日 #