Commit fb0c5e01 by BellCodeEditor

auto save

parent b37e2a48
This source diff could not be displayed because it is too large. You can view the blob instead.
dict={"农夫山泉":1,"辣条":3}
k=input("你要买啥")
if k in dict:
print("叮咚~您的"+str(dict[k])+"元~")
else:
print("没有物品")
\ No newline at end of file
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
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