Commit 5c875a71 by BellCodeEditor

save project

parent 30d091ab
Showing with 5 additions and 3 deletions
def new(): def new():
z=[] z=[]
while True: while True:
a=input("输入价格") a=input("输入价格")
if a=="stop": if a=="stop":
break break
else: else:
...@@ -12,4 +12,6 @@ def new(): ...@@ -12,4 +12,6 @@ def new():
else: else:
z.append(a1) z.append(a1)
print(z) print(z)
#print(z) return(z)
\ No newline at end of file h=new()
print(h)
\ 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