Commit 088267fa by BellCodeEditor

save project

parent 10b49c22
Showing with 20 additions and 6 deletions
try:
h=input(年龄?)
if h =='q':
def new_input():
total = []
while True:
moner=input('输入')
if moner == 'q':
break
eles:
\ No newline at end of file
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