Commit a52e3606 by BellCodeEditor

save project

parent 967eb0dd
Showing with 5 additions and 5 deletions
......@@ -12,7 +12,8 @@ def new_input():
print('请输入一个整数')
else:
total.append(unit)
print('...'*30)
finally:
print('****************')
return total
......@@ -22,8 +23,7 @@ def sum(money):
for i in money:
count=count+i
return count
price=new_input()
pay=sum(price)
#price=new_input()
#pay=sum(price)
#print("您一共消费"+str(pay)+"元!扫码还是现金?")
add=new_input()
print(add)
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