Commit a2f3e166 by BellCodeEditor

save project

parent 20aaadd2
Showing with 11 additions and 8 deletions
def new_input(): try:
total = [] def new_input():
total = []
except:
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': else:
break if unit== 'q':
else: break
total.append(unit) else:
print(total) total.append(unit)
\ No newline at end of file print(total)
\ 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