Commit afc96634 by BellCodeEditor

save project

parent 6bb5f32b
Showing with 3 additions and 2 deletions
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~ # 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
dict= {'可口可乐':300000,'旺仔牛奶':4000,'农夫山泉':100000000000,'辣条':3,'巴西烤肉':2,'果冻':4,'乐事':5,'奥利奥':10,'巧克力':6} dict= {'可口可乐':300000,'旺仔牛奶':4000,'农夫山泉':100000000000,'辣条':30000000000,'巴西烤肉':200000000000,'果冻':40000000000000,'乐事':500000000,'奥利奥':10000000000000000,'巧克力':6}
s=input('你买撒子?') s=input('你买撒子?')
if s in dict: if s in dict:
print(s+解决) print(s+'需要'+str(dict[s])+"元")
else: else:
print("dd") print("dd")
\ 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