dict={'农夫山泉':1,'可口可乐':3'旺仔牛奶':'辣条':3'奥利奥':} y=input('你要买几个') x=input('你要买生么') if x in dict: print('买'+k+'需要'+str(int(x)*(dict[k]))+'云'