Commit e900b505 by BellCodeEditor

save project

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