Commit c066ab40 by BellCodeEditor

auto save

parent dc70412a
Showing with 21 additions and 0 deletions
def new_input():
total = []
while True:
moner=input('输入')
if moner == 'q':
break
else:
try:
moner=int(moner)
except:
print("qrhgqj")
else:
total.append(money)
finally:
print("-"*30)
return total
uu= new_input()
print(uu)
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