Commit f219f133 by BellCodeEditor

auto save

parent abe9a2c4
Showing with 8 additions and 3 deletions
...@@ -7,6 +7,11 @@ while True: ...@@ -7,6 +7,11 @@ while True:
try: try:
unit = int(unit) unit = int(unit)
except: except:
print("") print("请重新输入一个数")
else:
total.append(unit) total.append(unit)
print(total) print("-"*30)
\ No newline at end of file print(total)
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