Commit 643e4e17 by BellCodeEditor

auto save

parent 16097c7a
Showing with 9 additions and 3 deletions
def new_input():
total = []
while True:
unit= input("u")
if unit== 'q':
unit= input("qing")
if unit=='q':
break
else:
totaappend(unit)
try:
unit=int(unit)
except:
peient("请数入数字")
else:
total.taappend(unit)
print(total)
new_input()
\ 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