Commit 90147b5a by BellCodeEditor

save project

parent b11fcd6f
Showing with 10 additions and 9 deletions
total = [] def n():
while True: s=[]
unit= input("请输入:") while True:
if unit== 'q': w=input("请输入")
break if w=='a':
else: break
total.append(unit) else:
print(total) s.append(w)
\ No newline at end of file print(s)
n()
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