Commit 18cbc6e1 by BellCodeEditor

auto save

parent e8d4d990
Showing with 5 additions and 4 deletions
def1 new_input():
def new_input():
total = []
while True:
unit = inpit('请输入(q退出)')
unit = inpit('请输入(q退出):')
if unit == 'q':
break
eles:
total.append(unit)
else:
total.append(unit)
print(total)
new_input()
\ 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