Commit 9567b0d3 by BellCodeEditor

save project

parent 5ab12f4b
Showing with 3 additions and 1 deletions
......@@ -3,7 +3,9 @@
def func(n):
if n<=2:
return 1
value=func(n-1)
value=func(n-1)+func(n-2)
return value
......
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