Commit 2cc91848 by BellCodeEditor

save project

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