Commit e900b505 by BellCodeEditor

save project

parent 186bc821
Showing with 2 additions and 6 deletions
...@@ -12,9 +12,4 @@ def sd(): ...@@ -12,9 +12,4 @@ def sd():
total.append(a) total.append(a)
return total return total
d=sd() d=sd()
def sun(money): print(d[1])
s=0 \ No newline at end of file
for i in money:
s=s+i
print("一共消费"+str(s)+"元")
sun(d)
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