Commit 912283b8 by BellCodeEditor

save project

parent 02dd1515
Showing with 6 additions and 1 deletions
...@@ -7,7 +7,11 @@ def new_input(): ...@@ -7,7 +7,11 @@ def new_input():
else: else:
try: try:
unit = int(uint) unit = int(uint)
total.append(unit) except:
print("情重新输入数字")
else:
totai.append(unit)
print("-"*30)
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