Commit f7154595 by BellCodeEditor

save project

parent ea4788c8
Showing with 9 additions and 2 deletions
...@@ -11,6 +11,13 @@ def new_input(): ...@@ -11,6 +11,13 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
a = new_input()
print(a) def sum(money):
c=0
for i in range:
c=c+1
return c
p=new_input
pay=sum(p)
print("您一共消费了"+str(z)+"扫码还是现金呢")
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