Commit 1a5af3aa by BellCodeEditor

save project

parent a4d604bf
Showing with 2 additions and 2 deletions
def A(n):
if n==1:
if n==1 or n==2:
return 1
D=A(n-1)+n
D=A(n)
return D
D=A(20)
print(D)
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