Commit afe9d49b by BellCodeEditor

save project

parent 7fa2874f
Showing with 8 additions and 0 deletions
def f(n):
if n==1:
return 1
x=f(n-1)+n
return x
num=int(input(''))
print(f(num))
\ 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