Commit 3d305d73 by BellCodeEditor

save project

parent c0dcfe4c
......@@ -23,6 +23,6 @@ def sum(money):
return count
price = new_input()
pay = sum(price)
print("您一共消费了" + str(pay) + "元!扫码还是现金?")
\ No newline at end of file
# price = new_input()
# pay = sum(price)
# print("您一共消费了" + str(pay) + "元!扫码还是现金?")
\ No newline at end of file
import func
data = func.new_input()
result = func.sum(data)
print("这位选手的总分数为",result,"分")
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