Commit ec79ab53 by BellCodeEditor

save project

parent 90fa71c0
Showing with 5 additions and 3 deletions
...@@ -10,7 +10,8 @@ def new_input(): ...@@ -10,7 +10,8 @@ def new_input():
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()
\ 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