Commit 55bdae33 by BellCodeEditor

save project

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