Commit 03115045 by BellCodeEditor

save project

parent 0d42c4a7
Showing with 9 additions and 2 deletions
...@@ -13,4 +13,11 @@ def danjia(): ...@@ -13,4 +13,11 @@ def danjia():
total.append(unit) total.append(unit)
return total return total
d = danjia() d = danjia()
print(d) print(d)
\ No newline at end of file def qiuhe(d):
x=0
for i in d:
x=x+i
return x
g=qiuhe(d)
print(g)
\ 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