Commit 33f3e901 by BellCodeEditor

auto save

parent 2d4295c7
Showing with 6 additions and 0 deletions
...@@ -5,7 +5,13 @@ def store(): ...@@ -5,7 +5,13 @@ def store():
if unit== 'q': if unit== 'q':
break break
else: else:
try:
unit = int(unit)
except:
print("重新输入")
else:
total.append(unit) total.append(unit)
print("-_-"*100)
print(total) print(total)
store() store()
......
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