Commit cc9d3e62 by BellCodeEditor

save project

parent b13646b1
Showing with 3 additions and 3 deletions
...@@ -8,9 +8,9 @@ def new_input(): ...@@ -8,9 +8,9 @@ def new_input():
else: else:
try: try:
unit=int(unit) unit=int(unit)
except except
print("请输入新的数字") print("请输入新的数字")
else else
total.append(unit) total.append(unit)
print(total) print(total)
new_input() new_input()
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