Commit 678cee84 by BellCodeEditor

save project

parent 578e41ee
Showing with 11 additions and 0 deletions
...@@ -6,3 +6,14 @@ while True: ...@@ -6,3 +6,14 @@ while True:
else: else:
total.append(unit) total.append(unit)
print(total) print(total)
total=[]
while True:
unit=input("输入")
if unit=='q':
break
else:
total.append(unit)
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