Commit aca4028b by BellCodeEditor

save project

parent 5dde4449
Showing with 8 additions and 0 deletions
zdsmj={"农夫山泉":2,"百事可乐":5,"可口可乐":1,"汤达人卓骨拉面":5,"康师傅红烧牛肉面":5,"康师傅老坛酸菜牛肉面":5,"冰红茶":5}
k=input("请问您想要什么")
p-input("您需要几份")
if k in zdsmj:
print("共"+str([k]-p)+"元")
else:
print("目前本店暂时没有这个商品的供应")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment