Commit 67ea7b61 by BellCodeEditor

save project

parent 17e8d948
...@@ -20,8 +20,7 @@ def sum(money): ...@@ -20,8 +20,7 @@ def sum(money):
for i in money: for i in money:
count=count+i count=count+i
return count return count
# price=a()
price=a() # pay=sum(price)
pay=sum(price)
#print("您一共消费了"+str(pay)+"元") #print("您一共消费了"+str(pay)+"元")
import func import func
d=func.a() d=func.a()
s=func.sum(d) s=func.sum(d)
print("这位选手的总分数为:"+str(s)) print("这位选手的总分数为:"+str(s))
\ 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