Commit 147e0796 by BellCodeEditor

auto save

parent c4e019cf
Showing with 10 additions and 5 deletions
del new_input():
del new_input(j):
total = []
while:
c=int(input("请输入价格"))
if c=="p":
break
else:
total.append(c)
j=0
try:
int(c)
except:
print("请输入数字噢")
elif:
total.append(c)
j=0
for i in total:
total=j+i
j=return total()
print(j)
new_input()
\ No newline at end of file
new_input('一共支付'+j+'元!请问是扫码还是现金呢')
\ 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