Commit 1aa50ba1 by BellCodeEditor

save project

parent 5dc8d7d7
Showing with 4 additions and 3 deletions
......@@ -4,10 +4,11 @@ def func():
try:
unit=int(input("请输入:"))
except:
print("要输入整数")
if unit== 'q':
if unit=='q':
print("结束")
break
else:
print()
else
total.append(unit)
print(total)
......
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