模拟购物系统——python基础(原题来自B站)https://www.bilibili.com/video/BV12E411A7ZQ?p=9
#购物products=[['小米',1600],['苹果',3000],['华为',1500],['oppo',1000],['vivo',1000]]print("--------商品列表--------")j=0index=0shops=[]money=[]x=[0,1,2,3,4]foriinproducts:print('%d%s%d'%(j,i[0],i[1]))j+=1whileTr