Commit bbeffd2d by BellCodeEditor

auto save

parent 75e749d2
Showing with 4 additions and 6 deletions
...@@ -2,8 +2,6 @@ def new_input(): ...@@ -2,8 +2,6 @@ def new_input():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': print(uint)
break #
else: #
total.append(unit) \ No newline at end of file
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