Commit 75ce761a by BellCodeEditor

save project

parent 873857e0
Showing with 7 additions and 7 deletions
...@@ -6,12 +6,11 @@ def new_input(): ...@@ -6,12 +6,11 @@ def new_input():
break break
else: else:
try: try:
pass unit=int(unit)
except expression as identifier: except :
pass print("请重新输入一个数字")
else: else:
pass total.append(unit)
finally: print("_"*30)
pass 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