热门
题目描述:
利用递归方法求5!。
解题思路:
> 利用递归
代码:
def fn(n): if n==0 or n==1 : return 1 return n*fn(n-1) print(fn(5))