Commit 81ca8f22 by BellCodeEditor

save project

parent cec9e536
...@@ -22,4 +22,4 @@ def sum(money): ...@@ -22,4 +22,4 @@ def sum(money):
price=new_input() price=new_input()
pay=sum(price) pay=sum(price)
print("你一共消费了"+str(pay)+"元!扫码还是现金呢?") #print("你一共消费了"+str(pay)+"元!扫码还是现金呢?")
\ No newline at end of file \ No newline at end of file
import func0
data=func0.new_input()
score=func0.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