Commit 0107b8f3 by BellCodeEditor

auto save

parent 9e967415
Showing with 8 additions and 3 deletions
......@@ -5,5 +5,10 @@ def func(n):
value = func(n-1)+func(n-2)
return value
result = func(8)
print(result)
\ No newline at end of file
i=3
while True:
if func(i) > 20:
print(str(i),'bigger than 20')
break
else:
i+=1
\ 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