Commit 290e7bda by BellCodeEditor

save project

parent 76a40b58
Showing with 12 additions and 2 deletions
total = []
while True:
unit= input("请输入:")
unit= input('请输入:(q)')
if unit== 'q':
break
else:
total.append(unit)
try
moneey=int(moneey)
excepti:
print("数字")
else:
moneey.append(moneey)
fnailly:
print("_"*30)
return total
resule=new_input
print(total)
\ 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