Commit 5104870e by BellCodeEditor

save project

parent d4d28048
Showing with 7 additions and 1 deletions
# 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~ # 神奇百货中的物品已经帮你创建好啦,接下来要看你的了~
dict= {'可口可乐':3,'旺仔牛奶':4,'农夫山 dict= {'可口可乐':3,'旺仔牛奶':4,'农夫山Q':1}
k=input('niyaoshengmo')
if k in dict:
print(str(dict[k])+"yuan")
else:
print("mei you")
\ 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