Commit f219f133 by BellCodeEditor

auto save

parent abe9a2c4
Showing with 9 additions and 4 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("请重新输入一个数")
total.append(unit) else:
print(total) total.append(unit)
\ No newline at end of file print("-"*30)
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