#Author:zhou shopping = [("iphone",5500),("macbook",10000),("knife",15)] wallet = int(input("请输入你的金额:")) shopping2 = [] while True: for Index,value in enumerate(shopping):
python简单购物车
最新推荐文章于 2023-05-28 20:38:04 发布
#Author:zhou shopping = [("iphone",5500),("macbook",10000),("knife",15)] wallet = int(input("请输入你的金额:")) shopping2 = [] while True: for Index,value in enumerate(shopping):