Commit 16689527 by BellCodeEditor

save project

parent 75eb0f63
Showing with 1 additions and 1 deletions
...@@ -5,5 +5,5 @@ def sum(n): ...@@ -5,5 +5,5 @@ def sum(n):
if n==1: if n==1:
return 1 return 1
return sum(n-1)+n return sum(n-1)+n
print(sum(3)) print(sum(4))
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