Commit a6e9a0eb by BellCodeEditor

auto save

parent eebcf450
Showing with 2 additions and 2 deletions
...@@ -8,9 +8,9 @@ def new_input(): ...@@ -8,9 +8,9 @@ def new_input():
else: else:
try: try:
unit=int(unit) unit=int(unit)
except except:
print("请输入新的数字") print("请输入新的数字")
else else:
return total return total
a=new_input() a=new_input()
total.append(unit) total.append(unit)
......
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