Commit 75f979b5 by BellCodeEditor

save project

parent 06e9d30e
...@@ -23,6 +23,6 @@ def sum(money): ...@@ -23,6 +23,6 @@ def sum(money):
return cout return cout
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 func
a=func.new_input()
c=func.sum(a)
print("这位同学的总分是"+str(c))
\ 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