Commit 46e9d781 by BellCodeEditor

save project

parent 0f53c1f3
Showing with 12 additions and 0 deletions
def sum(num):
def sum(num):
if num==1:
return 1
sum=num+sum(num-1)
return sum
print(sum(100))
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