Commit 533684e4 by BellCodeEditor

save project

parent b5840463
Showing with 1 additions and 1 deletions
def n( num ): def n( num ):
if num <= 2 : if num <= 2 :
return 1 return 1
num = n( n - 1 ) + n( n - 2 ) num = n( num - 1 ) + n( num - 2 )
return num return num
i = 1 i = 1
while( n(i) <= 20 ): while( n(i) <= 20 ):
......
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