Commit 61197007 by BellCodeEditor

save project

parent 8e578f8c
Showing with 20 additions and 0 deletions
def new_input():
while True:
total = []
money= inpit('请输入(q退出):')
if money == 'q':
break
else:
try:
money = int(number)
except:
print("请输入一个数字")
else:
total.append(number)
finally:
print("_"*3 )
return total
rsult = new_input()
print((result))
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