1
while n != 0:
2
s = s+1
3
t = t+price[① ]
4
print("您选择了", price[n-1], "元的", goods[n-1])
5
n = int(input("请继续输入编号:"))
6
else:
7
print("您一共选购了", ② , "件商品,需要支付", t, "元")
微信扫码预览、分享更方便