Commit 654aab04 by BellCodeEditor

save project

parent 8bf65d8c
Showing with 3 additions and 13 deletions
...@@ -7,16 +7,6 @@ def new_input(): ...@@ -7,16 +7,6 @@ def new_input():
else: else:
total.append(a) total.append(a)
return(total) return total
result=new_input() result=new_input()
print(def new_input(): print(result)
total = [] \ No newline at end of file
while True:
unit= input('请输入(q退出):')
if unit== 'q':
break
else:
total.append(unit)
print(total)
new_input()
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