Commit 5642bb33 by BellCodeEditor

auto save

parent a1cd4b2a
Showing with 4 additions and 3 deletions
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
def sum_numbers(num): def sum_numbers(num):
if num==1: if num==1:
return 1 return 1
temp=sum_numbers(num-1) temp=num + sum_numbers(num-1)
return num + temp return temp
haha=sum_numbers(80) haha=sum_numbers(8)
print(haha) print(haha)
\ 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