Commit 5829ff78 by BellCodeEditor

save project

parent 8ffe844d
import func
date=func.new_input()
score=func.sume(date)
print("这位选手的成绩为:"+str(score))
\ No newline at end of file
...@@ -22,5 +22,5 @@ def sume(money): ...@@ -22,5 +22,5 @@ def sume(money):
return count return count
price=new_input() price=new_input()
pay= sume(price) pay= sume(price)
print("您本次共消费"+sty(pay)+"元,您是现金还是刷卡?(本店不开发票)") print("您本次共消费"+str(pay)+"元,您是现金还是刷卡?(本店不开发票)")
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