Commit 1e5956a1 by BellCodeEditor

save project

parent 70b0e57f
Showing with 2 additions and 3 deletions
total = []
def new_input():
while True:
unit= input("请输入:")
......@@ -10,5 +9,5 @@ def new_input():
total.append(int(unit))
except:
print("请输入整数")
print(total)
new_input()
\ No newline at end of file
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