Commit c9031208 by BellCodeEditor

save project

parent a5e629c7
Showing with 4 additions and 2 deletions
...@@ -2,7 +2,7 @@ def niubi(): ...@@ -2,7 +2,7 @@ def niubi():
total = [] total = []
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit=="q":
break break
else: else:
try: try:
...@@ -11,5 +11,6 @@ def niubi(): ...@@ -11,5 +11,6 @@ def niubi():
print("滚犊子") print("滚犊子")
else: else:
total.append(unit) total.append(unit)
print(unit) print("-"*30)
print(total)
niubi() niubi()
\ 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