Commit 3c2e9a53 by BellCodeEditor

save project

parent dc70412a
Showing with 15 additions and 0 deletions
def a():
total = []
x=0
while True:
unit=int(input("请输入:"))
total.append(unit)
try :
a()
except ValueError:
print('你错了')
else:
for i in total():
x=x+i
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