简单的购物程序(续1)
摘要:else: break if a == "零食": print("1. 泡面 2元") print("2. 片片酥 4元") print("3. 火腿肠 3元") while True: a=input("输入编号购买商品,输入“B”返回类型选择:") if a=="1": geshu=int(in
阅读全文
posted @ 2019-05-29 11:22
posted @ 2019-05-29 11:22
posted @ 2019-05-22 11:49
posted @ 2019-05-15 01:05