Commit b5840463 by BellCodeEditor

save project

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