Commit 5c875a71 by BellCodeEditor

save project

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