Commit 80db2651 by BellCodeEditor

auto save

parent dc22b1a3
Showing with 12 additions and 0 deletions
# 1,输入一个数字,一定的变化, 出来某个值
# 鸡兔同笼,有条件 输入鸡兔
def a(n):
if n==1:
return 1
s=a(n-1)+n
return s
print(a(100))
\ 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