Commit f60d9a63 by BellCodeEditor

save project

parent a8fce31c
Showing with 2 additions and 3 deletions
...@@ -5,9 +5,9 @@ def md(): ...@@ -5,9 +5,9 @@ def md():
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
break break
else:
total.append(int(unit))
except: except:
input("请输入:") input("请输入:")
else:
total.append(int(unit))
print(total) print(total)
md() md()
\ 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