Commit 66a9c293 by BellCodeEditor

save project

parent e92bcb2e
Showing with 1 additions and 1 deletions
......@@ -7,7 +7,7 @@ def kunba():
else:
try:
new_input = int(unit)
except:
except(ValueError):
print("请输入一个整数!")
else:
total.append(unit)
......
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