Commit 5baeb9b5 by BellCodeEditor

save project

parent a2567d82
Showing with 11 additions and 5 deletions
total = []
try:
def i():
total = []
try:
while True:
unit= int(input("请输入:"))
except:
total.append(unit)
except:
print('错误')
else:
else:
total.append(unit)
print(total)
print(total)
return total
nb=i()
for i in nb:
print(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