Commit 67884628 by BellCodeEditor

save project

parent 10b4cc64
Showing with 3 additions and 7 deletions
......@@ -12,16 +12,11 @@ def new_ghgdh():
else:
total.append(unit)
return total
lbbnn=new_ghgdh()
print(lbbnn)
def sum(unit):
comm=0
for i in unit:
comm=comm+1
return comm
LWXZBC = new_ghgdh()
pay=sum(LWXZBC)
lwxzbc = new_ghgdh()
pay=sum(lwxzbc)
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