Commit 299a763a by BellCodeEditor

auto save

parent dc70412a
Showing with 23 additions and 0 deletions
def new_input():
tatol=[]
while True:
unif=input("请输入:")
if unif=="q":
break
try:
unif=int()
except:
print("请再输入一个数")
else:
tatol.append(unif)
print(tatol)
return tatol
result=new_input()
print(result)
def sum(money):
for i in money:
int(qwe)
int(ows)
print("您一共消费了",i,"元!扫码还是现金呢?")
\ 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