Commit 90147b5a by BellCodeEditor

save project

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