Commit 4b97e5a0 by BellCodeEditor

save project

parent 35edadaa
...@@ -18,6 +18,3 @@ def sum(money): ...@@ -18,6 +18,3 @@ def sum(money):
for i in money: for i in money:
count=count+i count=count+i
return count return count
price=sb()
pay=sum(price)
print("一共花了"+str(pay)+"元。微信还是现金?")
\ No newline at end of file
import func
import func
data=func.sb()
score=func.sum(data)
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