Commit df0f9847 by BellCodeEditor

save project

parent bc3bca37
Showing with 2 additions and 25 deletions
total = []
def x_23():
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
unit=int(unit)
except:
print()
else:
total.append(unit)
print("_"*30)
result = x_23()
print(total)
def sum(money):
count=0
for i in money:
count=coun
return count
price = x_23()
pay=sum(price)
print('你一共消费'+str(pay)+'元,扫码还是现金')
import func
date=func.x_23()
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