Commit bb44c84d by BellCodeEditor

save project

parent b16f38f3
Showing with 14 additions and 0 deletions
def a(num):
if num <= 2:
return 1
x = a(num-1)+a(num-2)
return x
z = 0
y = 0
while y<=20:
z = z+1
y = a(z)
print(z)
d = a(30)
print(d)
\ 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