Commit c594d080 by BellCodeEditor

save project

parent 36762aac
Showing with 7 additions and 8 deletions
......@@ -5,14 +5,13 @@ def new_input():
if unit== 'q':
break
else:
total.append(unit)
try:
unit=int(unit)
except:
print("输入错误")
else:
total.append(unit)
print("_"*30)
print(total)
new_input()
try:
input()
except:
print("输入错误")
else:
print("")
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