Commit a7863bd3 by BellCodeEditor

auto save

parent 68c10fdb
Showing with 2 additions and 2 deletions
dict={'可口可乐':3,'奶':4,'水':1} dict={'可口可乐':3,'奶':4,'水':1,'果汁':7}
dict={'可口可乐':3,'奶':4,'水':1} dict={'可口可乐':3,'奶':4,'水':1,'果汁':7}
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