Commit 3a64b49f by BellCodeEditor

auto save

parent c2e5a672
Showing with 5 additions and 16 deletions
def BT():
BianTai=[]
while True:
BianTai2=input("请输入价格,听懂了吗!?什么,你没听懂:")
if BianTai2=="q":
break
else:
try:
BianTai2=int(BianTai2)
except:
print("输入整数,OK!?")
else:
BianTai.append(BianTai2)
print(BianTai)
BT()
\ No newline at end of file
print('\t宠物登记表\n\
姓冥\t棵属\t牲别\n\
小咪\t猫科\t磁性\n\
小汪\t犬科\t雄性')
\ 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