Commit 61d99596 by BellCodeEditor

auto save

parent cd38f10c
Showing with 2 additions and 1 deletions
dict={'可乐':3,'mike':4,'农夫':1,'辣条':3,'meat':2,'果冻':4,'乐事':5,'奥利奥':10,'chocoate':6} dict={'可乐':3,'mike':4,'农夫':1,'辣条':3,'meat':2,'果冻':4,
'乐事':5,'奥利奥':10,'chocoate':6}
k=input('你要什么') k=input('你要什么')
if k in dict: if k in dict:
print('叮咚~您的'+k+'需要支付'+str(dict[k])+'元') print('叮咚~您的'+k+'需要支付'+str(dict[k])+'元')
......
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