Commit 9b854d7d by BellCodeEditor

save project

parent 5774a940
Showing with 6 additions and 0 deletions
dict_hero={'可口可乐':3,'旺仔牛奶':4,'汉堡':4,'花生仁':2,'辣条':7,'果仁':3,}
k=print("你想要什么?")
if k in dict:
print("您的"+k+"需要支付"+str(dict[k])+")
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