Commit ba79b58a by BellCodeEditor

save project

parent 75928dfb
Showing with 17 additions and 2 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)
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