Commit 4e9b411b by BellCodeEditor

save project

parent fea199de
Showing with 11 additions and 2 deletions
alist = [88, 75, 72, 82, 90, 85, 78, 91]
\ No newline at end of file
alist = [88, 75, 72, 82, 90, 85, 78, 91]
def sun_numbers(num):
if num==1:
return 1
temp=sun_numbers(num-1)
return num+temp
result=sun_numbers(100)
print(result)
\ 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