Commit 6bed311f by BellCodeEditor

save project

parent 09af59d5
Showing with 7 additions and 0 deletions
dict={"可口可乐":4,"乐事薯片":7,"绿爽":1"鸦片":20,"摇头丸":8}
k=input("先生/女士,您需要吸点什么毒")
if k in dict:
print("你要的"+k+"需要支付"+str(dict[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