Commit e29f120c by BellCodeEditor

save project

parent 5678eaec
Showing with 9 additions and 3 deletions
def f(n):
if n<=2:
return 1
elif n>2:
a=f(n-1)+f(n-2)
return a
print(f(5))
......
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