Commit 6e179b14 by BellCodeEditor

save project

parent 688844d0
Showing with 9 additions and 1 deletions
......@@ -13,5 +13,13 @@ def a():
t.append(u)
return t
b=a()
print(b[1])
def sum(m):
c=0
for i in m:
c=c+i
print("你一共消费"+str(c)+"元。")
sum(b)
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