Commit 50239be9 by BellCodeEditor

auto save

parent 9fb7dff9
Showing with 4 additions and 1 deletions
...@@ -8,6 +8,8 @@ def new_input(): ...@@ -8,6 +8,8 @@ def new_input():
try: try:
total.append(int(unit)) total.append(int(unit))
except: except:
total.append(unit) print('重新输入一个数字')
else:
total.append(int(unit))
print(total) print(total)
new_input() 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