Commit d581d7f5 by BellCodeEditor

save project

parent 257daf15
Showing with 15 additions and 2 deletions
def hello(name):
content='你好!'+name
return content
result=hello('小依')
print(result)
\ No newline at end of file
...@@ -13,4 +13,11 @@ def gaiya(): ...@@ -13,4 +13,11 @@ def gaiya():
total.append(unit) total.append(unit)
return total return total
w=gaiya() w=gaiya()
print(w) #print(w)
\ No newline at end of file def sum(abab):
s = 0
for i in abab:
s = s + i
return s
r=sum(w)
print(r)
\ 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