Commit 82dcffe4 by BellCodeEditor

save project

parent df6fc44c
Showing with 2 additions and 1 deletions
......@@ -4,6 +4,6 @@
def sum_numbers(n):
if n == 1:
return 1
a=num+sum_numbers(num-1)
a=n+sum_numbers(n-1)
return a
print(sum_numbers(100))
\ 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