Commit ee968072 by BellCodeEditor

save project

parent 0f53c1f3
Showing with 17 additions and 0 deletions
def peach(n):
if n == 10:
return 1
num = (peach(n+1)+1)*2
return num
print(peach(0))
\ No newline at end of file
def numberd(num):
if num == 1:
return 1
daan = numberd(num-1)
return daan + num
print(numberd(998))
\ 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