Commit 8a35c623 by BellCodeEditor

save project

parent a6455c70
Showing with 4 additions and 6 deletions
......@@ -12,8 +12,8 @@ def new_input():
else:
total.append(unit)
return total
result = new_input()
print(result)
# result = new_input()
# print(result)
def sum(money):
......@@ -23,7 +23,4 @@ def sum(money):
return count
price = new_input()
pay = sum(price)
print("您一共消费了"+str(pay)+"元!扫码支付还是现金支付?")
print("您一共消费了"+str(pay)+"元!扫码支付还是现金支付?")
\ 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