Commit 6aced85d by BellCodeEditor

auto save

parent f84fbdf7
Showing with 8 additions and 4 deletions
......@@ -13,9 +13,14 @@ try:
total = []
while True:
unit= int(input("请输入:"))
if unit < 10:
break
except:
print("输入数字啊!!")
else:
if unit == 0:
print(total)
total.append(unit)
\ No newline at end of file
# if unit == 0:
# print("结束")
# total.append(unit)
print(11111)
print(111)
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