Commit 7f293e33 by BellCodeEditor

save project

parent 6aafb6d6
Showing with 7 additions and 0 deletions
shiwu={'健康食品':1,'垃圾食品':2}
k=input("你要买什么")
if k in shiwu:
print('你的'+k+'需要'+str(shiwu[k])+'元')
else:
print("对不起我们不买")
\ 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