Commit 65cea634 by BellCodeEditor

save project

parent 4f33f355
Showing with 11 additions and 0 deletions
def zhixing(n):
if n<=2:
return 1
elif n >2:
zhang=zhixing(n-1)+zhixing(n-2)
return zhang
for i in range(1,100):
if zhixing(i)>20:
print(i)
break
\ 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