Commit 9cb2f162 by BellCodeEditor

save project

parent 032b0647
Showing with 1 additions and 1 deletions
...@@ -21,6 +21,6 @@ def sum(unit): ...@@ -21,6 +21,6 @@ def sum(unit):
count = count + i count = count + i
return count return count
price= price=new_input()
pay = sum(price) pay = sum(price)
print("你一共消费了"+str(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