Commit f854aeb0 by BellCodeEditor

save project

parent b16f38f3
Showing with 13 additions and 0 deletions
def a(n):
if n<=2:
return 1
elif n>2:
n=a(n-1)+a(n-2)
return n
num=0
n=0
while num<20:
n+=1
num=a(n)
print(n)
\ 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