Commit d3c6e109 by BellCodeEditor

save project

parent 260000a1
Showing with 9 additions and 54 deletions
...@@ -6,57 +6,11 @@ def t(): ...@@ -6,57 +6,11 @@ def t():
break break
else: else:
total.append(unit) total.append(unit)
try:
t()
try: except:
t() print("请输入整数")
except: else:
print("请输入整数") print("已经加入")
else: return t
print("已经加入") total()
print(total) \ 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