Commit a79027de by BellCodeEditor

save project

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