Commit 3e7e4457 by BellCodeEditor

save project

parent d428e0bd
Showing with 2 additions and 1 deletions
......@@ -4,7 +4,8 @@
def func(num):
if num==1:
return 1
num=num+func(num-1)
num=num+func(num-1)
return num
a=func(5)
print(a)
......
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