Commit afd28dab by BellCodeEditor

save project

parent abfea990
Showing with 3 additions and 3 deletions
......@@ -4,8 +4,7 @@
def sum_numbers(num):
if num==1:
return 1
s =num+sum_numbers(num-1)
printum_numbers(num)(sum_numbers(num))
num=num+sum_numbers(num-1)
return num
sum_numbers=7
print(sum_numbers(7))
\ 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