Python---购物车更新程序 商品信息存在文件当中,用户购买记录要打印已购商品,余额。卖家可以添加商品,修改价格。
分为两部分:1.用户入口commoditydata={"Iphone7plus":5000,"HuiWei10":4000,"Appleiwatch":2500,"Appleipad":2000,"Ruishiwatch":3500,"Ordinaryworld":78,"Thedynastyofone":45,"milktea":10,"pizza":55,"coffee":15,}user_s