Commit 55424b4d by BellCodeEditor

auto save

parent d8f0efcd
Showing with 7 additions and 8 deletions
def func(n): def f(n):
if n<=2: if n==1:
return 1 return 1
elif n>2: a!=f(n-1)!*n
a=func(n-1)+func(n-2) return a
return a b=f(5)
j=func(6) print(b)
print(j)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment