标签:style input code 购物车 col print div put bsp
a1=""; sum=0; shuru={ (‘短袖’,301), (‘长裤’,401), (‘球鞋’,1001), (‘帽子’,801), } a1=printf("输入shuru查看商品列表"); if a1 == "shuru" while true: printf("shuru"); choice = input("请输入想要买的商品:") if choice==“衣服”: b=printf("您将"+choice+"加入购物车,请输入Buy进入结算环节"); if b =="Buy" printf(sum) elif choice = input("请继续输入想要购买的商品:")
标签:style input code 购物车 col print div put bsp
原文地址:https://www.cnblogs.com/www666666/p/10905216.html