Commit 9b771e08 by BellCodeEditor

save project

parent 7192dc01
Showing with 7 additions and 7 deletions
total=[] #total=[]
def aaa(): def aaa():
#total=[] total=[]
while True: while True:
unit= input("请输入:") unit= input("请输入:")
if unit== 'q': if unit== 'q':
...@@ -15,7 +15,7 @@ def aaa(): ...@@ -15,7 +15,7 @@ def aaa():
total.append(unit) total.append(unit)
finally: finally:
print('-'*30) print('-'*30)
print(total) #print(total)
#return total return total
aaa() e=aaa()
print(total) print(e)
\ No newline at end of file \ 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