Commit 5268a71b by BellCodeEditor

save project

parent 9dbb5d3b
Showing with 2 additions and 1 deletions
...@@ -2,7 +2,7 @@ def peach(n): ...@@ -2,7 +2,7 @@ def peach(n):
if n == 1: if n == 1:
return 1 return 1
temp = peach(n-1) temp = peach(n-1)
return num + temp return n + temp
result = peach(100) result = peach(100)
print(result) 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