Commit 329f7a89 by BellCodeEditor

save project

parent a8860525
...@@ -18,6 +18,6 @@ def sum(m): ...@@ -18,6 +18,6 @@ def sum(m):
for i in m: for i in m:
num=num+i num=num+i
return num return num
a=x() #a=x()
b=sum(a) #b=sum(a)
print("共消费"+str(b)+"元") #print("共消费"+str(b)+"元")
import func
a=func.x()
b=func.sum(a)
print("选手分数为"+str(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