Commit d23a3466 by BellCodeEditor

save project

parent 5f5ff529
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ def f(n): ...@@ -4,7 +4,7 @@ def f(n):
if n<=2: if n<=2:
return 1 return 1
else: else:
v=f(n-1)=f(n-2) v=f(n-1)+f(n-2)
return v return v
print(f(15)) print(f(15))
......
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