Commit e4276912 by BellCodeEditor

save project

parent b16f38f3
Showing with 14 additions and 0 deletions
def fbnjsldjsgs(n):
if n <= 2:
return n
elif n > 2:
valne = fbnjsldjsgs(n-1)+fbnjsldjsgs(n-2)
return valne
i = 0
while True:
result = fbnjsldjsgs(i)
i += 1
if result > 20:
break
print("要等"+str(i)+"个月")
\ 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