Commit fe3a15c2 by BellCodeEditor

save project

parent 9bccfec3
Showing with 7 additions and 5 deletions
total = [] total = []
def new_input(): def new_input():
unit= input("请输入:") while True:
if unit== 'q': unit = input("请输入:")
break if unit== 'q':
else: break
total.append(unit) else:
total.append(unit)
while True: while True:
new_input() new_input()
print(total) 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