Commit 9e47fb8d by BellCodeEditor

save project

parent 6d88eca4
Showing with 28 additions and 0 deletions
def a():
s=[]
while True:
d=input("输入单价")
if d=="q":
break
else:
try:
d=int(d)
except:
print("giao")
else:
s.append(d)
finally:
print("-"*40)
print(s)
return s()
a()
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