Commit e371dd5b by BellCodeEditor

save project

parent cbabd846
Showing with 10 additions and 0 deletions
dict={'可口可乐':2,'百事可乐':2,'崂山可乐':2,'芬达':1,'七喜':2,'农夫山泉':3,'纤果巴士':3,'果粒橙':3}
k=input()
\ No newline at end of file
dict={'可口可乐':2,'百事可乐':2,'崂山可乐':2,'芬达':1,'七喜':2,'农夫山泉':3,'纤果巴士':3,'果粒橙':3}
k=input('你想买什么呀?')
if k in dict:
print('叮咚~您的'+k+'需要支付'+str(dict[k])+'元~')
else:
print('暂时没有,敬请期待~')
\ No newline at end of file
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