Commit cab22928 by BellCodeEditor

auto save

parent 7eaed43a
Showing with 13 additions and 0 deletions
a=[]
while True:
b=input("请输入价格")
print("按下q退出")
try:
if b =="q":
break
else:
a.append(int(b))
except:
print("请输入数字!!")
print(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