Commit 09475978 by BellCodeEditor

save project

parent 857e8919
Showing with 6 additions and 5 deletions
...@@ -7,10 +7,10 @@ def new_input(): ...@@ -7,10 +7,10 @@ def new_input():
else: else:
try: try:
unit=int(unit) unit=int(unit)
except: except:
print("请从新输入一个数") print("请从新输入一个数")
else: else:
total.append(unit) total.append(unit)
print("-"*30) 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