Commit f89ad15b by BellCodeEditor

save project

parent fa03b590
Showing with 4 additions and 2 deletions
......@@ -8,7 +8,8 @@ def new_input():
try:
unit=int(unit)
except:
print("请输入整数")
total.append(unit)
print("请输入整数")
else:
total.append(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