Commit 8c84b496 by BellCodeEditor

save project

parent c025541d
Showing with 2 additions and 2 deletions
def s(n): def s(n):
if n==1: if n==1:
return1 return 1
a=s(n-1)+n a=s(n-1)+n
return a return a
print(s(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