Commit 1c1aa285 by BellCodeEditor

save project

parent d428d012
Showing with 10 additions and 0 deletions
def end(n):
if n<=2:
return 1
elif n>2:
value = end(n-1)+end(n-2)
return value
result = end(20)
print(result)
\ No newline at end of file
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