Commit 2cc91848 by BellCodeEditor

save project

parent e5255431
Showing with 5 additions and 2 deletions
def a():
total = []
while True:
if unit== 'q':
break
else:
try:
unit= int(input("请输入:"))
except:
print("sb")
else:
total.append(unit)
if unit== 'qq':
break
print(total)
a()
\ 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