Commit 1476f897 by BellCodeEditor

save project

parent 0290a532
Showing with 16 additions and 0 deletions
def new_input():
total =[]
while True:
a=input('价格')
try:
age=int(a)
except:
print('要输入整数啊!!')
else:
total.append(p)
if price=="q":
break
print(total )
print('_'*30)
new_input()
\ 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