Commit 4d0d07e4 by BellCodeEditor

save project

parent 3996a811
Showing with 5 additions and 3 deletions
...@@ -8,11 +8,13 @@ def new_input(): ...@@ -8,11 +8,13 @@ def new_input():
try: try:
unit = int(unit) unit = int(unit)
except: except:
print("重新输入数字") print("重新输入数字SB")
else: else:
total.append(unit) total.append(unit)
finally:
print("-"*30) print("-"*30)
print(total) print(total)
new_input() result = new_input()
\ No newline at end of file print(resuit)
\ 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