Commit f78a4080 by BellCodeEditor

auto save

parent ac3148d0
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ def sum_numbers(num): ...@@ -5,7 +5,7 @@ def sum_numbers(num):
# 数字的累加 # 数字的累加
temp = sum_numbers(num - 1) temp = sum_numbers(num - 1)
return num +temp return num *temp
result=sum_numbers(5) result=sum_numbers(5)
print(result) print(result)
......
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