Commit 178a66a9 by BellCodeEditor

auto save

parent 24cf04a6
Showing with 1 additions and 4 deletions
...@@ -7,13 +7,10 @@ def func(n): ...@@ -7,13 +7,10 @@ def func(n):
value=func(n-1)+func(n-2) value=func(n-1)+func(n-2)
return value return value
result=func(8) result=func(15)
print(result) print(result)
print(func(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