Commit a9800c67 by BellCodeEditor

auto save

parent 48c4b18b
Showing with 9 additions and 0 deletions
dict={'可口可乐':3,'牛奶':4,'巴西烤肉':8}
dict={'可口可乐':3,'牛奶':4,'巴西烤肉':8}
k=input('买什么?')
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