Commit 8e204e61 by BellCodeEditor

auto save

parent 59d626f2
Showing with 7 additions and 6 deletions
#生成一个1-100的列表。
a=['20']
b=['wo','ni']
a=a+b
print(a)
\ No newline at end of file
def a(n):
if n==1:
return 1
s=a(n-1)+n
return s
print(a(100))
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