Commit 9b406219 by BellCodeEditor

save project

parent 2ec1a4fa
Showing with 6 additions and 3 deletions
...@@ -10,6 +10,10 @@ def k(): ...@@ -10,6 +10,10 @@ def k():
a=int(unit) a=int(unit)
except: except:
print("请输入一个整数哦~") print("请输入一个整数哦~")
else:
total.append(unit) total.append(unit)
print(total) finally:
k() print("-"*30)
\ No newline at end of file return total
result=k()
print(result)
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