Commit 6ba40087 by BellCodeEditor

save project

parent a728429f
...@@ -17,7 +17,7 @@ def sum(m): ...@@ -17,7 +17,7 @@ def sum(m):
c=0 c=0
for i in m: for i in m:
c=c+i c=c+i
print("你消费"+str(c)+"元") #print("你消费"+str(c)+"元")
sum(b) sum(b)
......
import sm
ac=sm.()
score=sm.sum(ac)
print("分数:"+str(score))
\ 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